Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphChi/graphchi-java
/ types & classes
Types & classes
152 in github.com/GraphChi/graphchi-java
⨍
Functions
1,057
◇
Types & classes
152
Class
ALS
Matrix factorization with the Alternative Least Squares (ALS) algorithm. This code is based on GraphLab's implementation of ALS by Joey Gonzalez and D
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/ALS.java:47
Class
ALSMatrixFactorization
Matrix factorization with the Alternative Least Squares (ALS) algorithm. This code is based on GraphLab's implementation of ALS by Joey Gonzalez and D
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:46
Class
AutoLoaderTask
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:736
Class
BipartiteGraphInfo
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:278
Class
BitsetScheduler
Scheduler implementation for "Selective Scheduling". Each vertex in the graph has a bit which is 1 if the vertex should be updated, and 0 otherwise. T
src/main/java/edu/cmu/graphchi/engine/BitsetScheduler.java:15
Class
Block
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:295
Class
BucketsToSend
src/main/java/edu/cmu/graphchi/walks/BucketsToSend.java:3
Class
BufferedDataInputStream
src/main/java/nom/tam/util/BufferedDataInputStream.java:42
Interface
BytesToValueConverter
GraphChi stores vertex adn edge values in compact byte format. To convert the bytes to Java objects, one needs to define converter objects. Note that
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:29
Interface
ChiEdge
Represents an edge. @param <EdgeData>
src/main/java/edu/cmu/graphchi/ChiEdge.java:23
Class
ChiFilenames
Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University] Licensed under the Apache License, Version 2.0 (the "Licen
src/main/java/edu/cmu/graphchi/ChiFilenames.java:25
Class
ChiLogger
Wrapper for Java logging. Use ChiLogger.getLogger("object-name") to get a logger object.
src/main/java/edu/cmu/graphchi/ChiLogger.java:17
Class
ChiPointer
Internal representation for referring to a chunk of bytes. Emulates C/C++ pointers.
src/main/java/edu/cmu/graphchi/datablocks/ChiPointer.java:23
Class
ChiVertex
Represents a vertex. Vertex contains a value and a set of in- and out-edges. @param <VertexValue> @param <EdgeValue>
src/main/java/edu/cmu/graphchi/ChiVertex.java:35
Class
CircleOfTrustSalsa
src/main/java/edu/cmu/graphchi/apps/recommendations/CircleOfTrustSalsa.java:27
Class
Common
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/Common.java:7
Class
Comparator
src/main/java/edu/cmu/graphchi/util/IdFloat.java:25
Class
CompressedIO
Zlib-compressed I/O utilities. @author akyrola
src/main/java/edu/cmu/graphchi/io/CompressedIO.java:27
Class
ConnectedComponents
Example application for computing the weakly connected components of a graph. The algorithm uses label exchange: each vertex first chooses a label equ
src/main/java/edu/cmu/graphchi/apps/ConnectedComponents.java:26
Class
CreateCassovary
Creates a cassovary adjacency @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/apps/util/CreateCassovary.java:18
Class
DataBlockManager
Manages large chunks of data which are accessed using ChiPointers. Used internally by GraphChi. @author akyrola
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:26
Class
DegreeData
GraphChi keeps track of the degree of each vertex (count of in- and out-edges). This class allows accessing the vertex degrees efficiently by loading
src/main/java/edu/cmu/graphchi/engine/auxdata/DegreeData.java:35
Class
DegreeFileReader
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/util/DegreeFileReader.java:11
Class
DiscreteDistribution
Presents a map from integers to frequencies. Special distributions for avoidance can be used to exclude certain ids from the distributions in merges.
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:13
Class
DrunkardClient
Client for querying the DrunkardCompanion.
src/main/java/edu/cmu/graphchi/walks/distributions/DrunkardClient.java:13
Class
DrunkardCompanion
DrunkardCompanion is a remote (or local) service that receives walks from the DrunkardEngine and maintains a distribution of visits from each source.
src/main/java/edu/cmu/graphchi/walks/distributions/DrunkardCompanion.java:28
Interface
DrunkardContext
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:8
Class
DrunkardDriver
Class to encapsulate the graphchi program running the show. Due to several optimizations, it is quite complicated!
src/main/java/edu/cmu/graphchi/walks/DrunkardDriver.java:25
Interface
DrunkardFactory
src/main/java/edu/cmu/graphchi/walks/DrunkardFactory.java:3
Class
DrunkardJob
Encapsulates a random walk computation.
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:10
Class
DrunkardMobEngine
Class for running DrunkardMob random walk applications. This can run multiple distinct random walk computations. They are executed simultaneously when
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:21
Class
DumperThread
src/main/java/edu/cmu/graphchi/walks/DumperThread.java:8
Class
Edge
src/main/java/edu/cmu/graphchi/ChiVertex.java:313
Enum
EdgeDirection
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/EdgeDirection.java:6
Class
EdgeListOutput
@author Aapo Kyrola, akyrola@cs.cmu.edu, akyrola@twitter.com
src/main/java/com/twitter/pers/graph_generator/EdgeListOutput.java:8
Interface
EdgeProcessor
Interface for objects that translate edge values from string to the value type. @param <ValueType>
src/main/java/edu/cmu/graphchi/preprocessing/EdgeProcessor.java:8
Interface
EdgeWeightMap
src/main/java/edu/cmu/graphchi/walks/WeightedHopper.java:137
Class
EmptyType
Placeholder for vertex and edge data types that are 'empty' @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/EmptyType.java:7
Class
FastSharder
New version of sharder that requires predefined number of shards and translates the vertex ids in order to randomize the order, thus requiring no addi
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:53
Class
FileUtils
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/util/FileUtils.java:10
Class
FloatConverter
Converts byte[4] array to Float and Float to byte[4]. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/datablocks/FloatConverter.java:23
Class
FloatPair
Represents a 2-tuple of floats. Access the tuple elements by pair.first, pair.second. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/datablocks/FloatPair.java:9
Class
FloatPairConverter
Converts byte[8] arrays to FloatPair's and vice versa @see edu.cmu.graphchi.datablocks.FloatPair @author Aapo Kyrola, akyrola@cs.cmu.edu
src/main/java/edu/cmu/graphchi/datablocks/FloatPairConverter.java:9
Interface
ForeachCallback
Callback object used when iterating vertex-values with VertexAggregator @author akyrola @see edu.cmu.graphchi.vertexdata.VertexAggregator
src/main/java/edu/cmu/graphchi/vertexdata/ForeachCallback.java:8
Class
FriendsOfFriends
Demonstration of the queryAndCombine capabilities of GraphChi. With this app, after you have computed PageRank for each vertex, you can make simple fr
src/main/java/edu/cmu/graphchi/queries/demo/FriendsOfFriends.java:24
Interface
GrabbedBucketConsumer
src/main/java/edu/cmu/graphchi/walks/GrabbedBucketConsumer.java:3
Class
GraphChiContext
GraphChiContext represents the current state of the computation. This is passed to the update-function. @see edu.cmu.graphchi.GraphChiProgram
src/main/java/edu/cmu/graphchi/GraphChiContext.java:27
Class
GraphChiContextInternal
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1011
Class
GraphChiDrunkardWrapper
Multiplex for DrunkardDrivers.
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:170
Class
GraphChiEngine
The engine responsible for executing a GraphChi computation. @param <VertexDataType> type of vertex-data @param <EdgeDataType> type of edge-data
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:44
Interface
GraphChiProgram
All GraphChi applications must extend this class. @param <VertexDataType> @param <EdgeDataType>
src/main/java/edu/cmu/graphchi/GraphChiProgram.java:26
Enum
GraphInputFormat
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:55
Interface
GraphOutput
@author Aapo Kyrola, akyrola@cs.cmu.edu, akyrola@twitter.com
src/main/java/com/twitter/pers/graph_generator/GraphOutput.java:6
Class
GraphTransformer
Converts an indirected input graph into a directed by checking that each edge has a complimentary edge in the opposite direction, and adding those com
src/main/java/edu/cmu/graphchi/apps/kcore/GraphTransformer.java:33
Class
HDFSGraphLoader
Loads a graph from HDFS edge by edge and calls a callback for each edge. Used by the Pig-integration: @see edu.cmu.graphchi.hadoop.PigGraphChiBase
src/main/java/edu/cmu/graphchi/hadoop/HDFSGraphLoader.java:22
Class
HITSSmallMem
Version of HITS that uses just a little memory (values propagated via edges), and can be run under Pig. On each iteration either left or right side i
src/main/java/com/twitter/pers/bipartite/HITSSmallMem.java:45
Class
HugeDoubleMatrix
A huge dense matrix, which internally splits to many sub-blocks Row-directed storage, so scanning row by row is efficient. This is useful in keeping
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:14
Class
HugeFloatMatrix
A huge dense matrix, which internally splits to many sub-blocks Row-directed storage, so scanning row by row is efficient. This is useful in keeping
src/main/java/edu/cmu/graphchi/util/HugeFloatMatrix.java:11
Class
HugeLongMatrix
A huge dense matrix, which internally splits to many sub-blocks Row-directed storage, so scanning row by row is efficient. This is useful in keeping
src/main/java/edu/cmu/graphchi/util/HugeLongMatrix.java:10
Class
IO
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/IO.java:13
Class
IdCount
Tuple presenting a vertex-id and a count. @author akyrola Date: 7/15/12
src/main/java/edu/cmu/graphchi/util/IdCount.java:10
Class
IdFloat
Container class carrying a vertex id and a float value. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/util/IdFloat.java:8
Class
IdInt
Tuple containg a vertex-id and an integer number.
src/main/java/edu/cmu/graphchi/util/IdInt.java:6
Class
IndexEntry
src/main/java/edu/cmu/graphchi/shards/ShardIndex.java:77
Class
IntConverter
Converts byte[4] ot Integer and vice versa. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/datablocks/IntConverter.java:23
Class
IntDrunkardCompanion
src/main/java/edu/cmu/graphchi/walks/distributions/IntDrunkardCompanion.java:9
Interface
IntDrunkardContext
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/walks/IntDrunkardContext.java:6
Class
IntDrunkardDriver
Class to encapsulate the graphchi program running the show. Due to several optimizations, it is quite complicated!
src/main/java/edu/cmu/graphchi/walks/IntDrunkardDriver.java:14
Class
IntDrunkardFactory
src/main/java/edu/cmu/graphchi/walks/IntDrunkardFactory.java:3
Class
IntDumperThread
src/main/java/edu/cmu/graphchi/walks/IntDumperThread.java:7
Class
IntLocalWalkBuffer
src/main/java/edu/cmu/graphchi/walks/IntLocalWalkBuffer.java:3
Class
IntWalkArray
src/main/java/edu/cmu/graphchi/walks/IntWalkArray.java:3
Class
IntWalkManager
Manager for random walks Done partially during authors internship at Twitter, Fall 2012. @author Aapo Kyrola, akyrola@cs.cmu.edu
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:17
Class
IntegerBuffer
An integer array buffer. Not thread-safe!
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:6
Class
IntervalData
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:699
Class
KCoreDecomposer
K-core decomposition algorithm Outputs: a file containing key-value pairs: vertexId, coreness How does it work ? 1 - Initializes vertex values to th
src/main/java/edu/cmu/graphchi/apps/kcore/KCoreDecomposer.java:55
Class
LabelAnalysis
Utility for counting the number of different labels in the vertex-data. Vertices which have same id as their vertex-id are not calculated. This is use
src/main/java/edu/cmu/graphchi/util/LabelAnalysis.java:21
Class
LocalWalkBuffer
src/main/java/edu/cmu/graphchi/walks/LocalWalkBuffer.java:5
Class
LongConverter
Converts byte[8] to Long and vice versa. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/datablocks/LongConverter.java:23
Class
LongDrunkardCompanion
src/main/java/edu/cmu/graphchi/walks/distributions/LongDrunkardCompanion.java:9
Interface
LongDrunkardContext
@author Aapo Kyrola
src/main/java/edu/cmu/graphchi/walks/LongDrunkardContext.java:6
Class
LongDrunkardDriver
Class to encapsulate the graphchi program running the show. Due to several optimizations, it is quite complicated!
src/main/java/edu/cmu/graphchi/walks/LongDrunkardDriver.java:14
Class
LongDrunkardFactory
src/main/java/edu/cmu/graphchi/walks/LongDrunkardFactory.java:3
Class
LongDumperThread
src/main/java/edu/cmu/graphchi/walks/LongDumperThread.java:7
Class
LongLocalWalkBuffer
src/main/java/edu/cmu/graphchi/walks/LongLocalWalkBuffer.java:3
Class
LongWalkArray
src/main/java/edu/cmu/graphchi/walks/LongWalkArray.java:3
Class
LongWalkManager
Manager for random walks Done partially during authors internship at Twitter, Fall 2012. @author Aapo Kyrola, akyrola@cs.cmu.edu
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:17
Class
MemoryShard
Used only internally - do not modify. To understand Memory shards, see http://code.google.com/p/graphchi/wiki/IntroductionToGraphChi @param <EdgeDataT
src/main/java/edu/cmu/graphchi/shards/MemoryShard.java:43
Class
MockScheduler
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:962
Class
MovieRecommender
Uses Netflix ratings data (or equivalent data) to compute recommendations for users. Computes in three steps: 1. Runs Alternating Least Squares (ALS
src/main/java/edu/cmu/graphchi/apps/recommendations/MovieRecommender.java:37
Class
MultinomialSampler
Samples values from multinomial distribution. @author Aapo Kyrola
src/main/java/edu/cmu/graphchi/util/MultinomialSampler.java:11
Class
NegativeWalkUpdate
src/main/java/edu/cmu/graphchi/apps/recommendations/MovieRecommender.java:170
Class
NoEdgesInIntervalException
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1054
Class
Pagerank
Example application: PageRank (http://en.wikipedia.org/wiki/Pagerank) Iteratively computes a pagerank for each vertex by averaging the pageranks of in
src/main/java/edu/cmu/graphchi/apps/Pagerank.java:27
Class
PersonalizedPageRank
Computes estimate of personalized pagerank using the DrunkardMobEngine. <b>Note:</b> this version omits walks to adjacent vertices, and thus could be
src/main/java/edu/cmu/graphchi/apps/randomwalks/PersonalizedPageRank.java:35
Class
PigALSMatrixFactorization
<b>Version for Pig http://pig.apache.org</b> Matrix factorization with the Alternative Least Squares (ALS) algorithm. This code is based on GraphLab'
src/main/java/edu/cmu/graphchi/apps/pig/PigALSMatrixFactorization.java:61
Class
PigGraphChiBase
Special PIG loader that wraps a graphchi application. This allows execution of GraphChi programs under Hadoop/PIG. Generally, if you have an GraphChi
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:35
Class
PigPagerank
Example application: PageRank (http://en.wikipedia.org/wiki/Pagerank) Iteratively computes a pagerank for each vertex by averaging the pageranks of in
src/main/java/edu/cmu/graphchi/apps/pig/PigPagerank.java:45
Class
PigWeightedPagerank
Example application: WeightedPageRank (http://en.wikipedia.org/wiki/Pagerank) Iteratively computes a pagerank for each vertex by averaging the pagera
src/main/java/edu/cmu/graphchi/apps/pig/PigWeightedPagerank.java:47
Class
PositiveWalkUpdate
src/main/java/edu/cmu/graphchi/apps/recommendations/MovieRecommender.java:121
next →
1–100 of 152, ranked by callers