Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphChi/graphchi-java
/ functions
Functions
1,057 in github.com/GraphChi/graphchi-java
⨍
Functions
1,057
◇
Types & classes
152
↓ 1 callers
Method
queryAndCombine
Query efficiently all vertices @param queryIds @return @throws IOException
src/main/java/edu/cmu/graphchi/queries/VertexQuery.java:216
↓ 1 callers
Method
queryOutNeighborsAndCombine
Queries all out neighbors of given vertices and returns a hashmap with (vertex-id, count), where count is the number of queryAndCombine vertices who h
src/main/java/edu/cmu/graphchi/queries/VertexQuery.java:46
↓ 1 callers
Method
quickSort
(long arr[], byte[] values, int sizeOf, int left, int right)
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:659
↓ 1 callers
Method
readAsync
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:312
↓ 1 callers
Method
readBooleanArray
(boolean[] b)
src/main/java/nom/tam/util/BufferedDataInputStream.java:348
↓ 1 callers
Method
readBuffer
(long pos)
src/main/java/ucar/unidata/io/RandomAccessFile.java:377
↓ 1 callers
Method
readCharArray
(char[] c)
src/main/java/nom/tam/util/BufferedDataInputStream.java:384
↓ 1 callers
Method
readDoubleArray
(double[] d)
src/main/java/nom/tam/util/BufferedDataInputStream.java:443
↓ 1 callers
Method
readEdgePtr
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:104
↓ 1 callers
Method
readFloatArray
(float[] f)
src/main/java/nom/tam/util/BufferedDataInputStream.java:425
↓ 1 callers
Method
readIntArray
(int[] i)
src/main/java/nom/tam/util/BufferedDataInputStream.java:396
↓ 1 callers
Method
readLong
()
src/main/java/nom/tam/util/BufferedDataInputStream.java:175
↓ 1 callers
Method
readLongArray
(long[] l)
src/main/java/nom/tam/util/BufferedDataInputStream.java:410
↓ 1 callers
Method
readShort
Reads a signed 16-bit number from this file. The method reads 2 bytes from this file. If the two bytes read, in order, are <code>b1</code> and <code>b
src/main/java/ucar/unidata/io/RandomAccessFile.java:977
↓ 1 callers
Method
readShortArray
(short[] s)
src/main/java/nom/tam/util/BufferedDataInputStream.java:365
↓ 1 callers
Method
receiveVertexValue
(int vertexId, String token)
src/main/java/edu/cmu/graphchi/preprocessing/VertexProcessor.java:8
↓ 1 callers
Method
reencodeWalk
Resets the bucket offset to reflect the new destination vertex, and also resets the track bit, according to the parameters. Note that those are the _
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:74
↓ 1 callers
Method
reencodeWalk
Resets the bucket offset to reflect the new destination vertex, and also resets the track bit, according to the parameters. Note that those are the _
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:74
↓ 1 callers
Method
removeTasks
(int from, int to)
src/main/java/edu/cmu/graphchi/Scheduler.java:19
↓ 1 callers
Method
restoreUngrabbed
()
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:16
↓ 1 callers
Method
run
(int numIterations)
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:128
↓ 1 callers
Method
runGraphChi
()
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:94
↓ 1 callers
Method
saveVertexTranslate
()
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:367
↓ 1 callers
Method
sendRest
()
src/main/java/edu/cmu/graphchi/walks/DumperThread.java:41
↓ 1 callers
Method
setAllowSparseDegreesAndVertexData
If set true, GraphChi will use sparse file for vertices and the degree data if the number of edges is smaller than the number of vertices. Default fal
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:213
↓ 1 callers
Method
setAutoLoadNext
Experimental feature that enables GraphChi to load data ahead. This works only with onlyAdjacency-setting. DO NOT USE - NOT TESTED. @param autoLoadNex
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:958
↓ 1 callers
Method
setAvoidList
Set a list of ids that should not be counted for vertexId's distribution. @param sourceIdx @param avoidList list (unsorted) of ids to omit
src/main/java/edu/cmu/graphchi/walks/distributions/RemoteDrunkardCompanion.java:20
↓ 1 callers
Method
setBucketConsumer
(GrabbedBucketConsumer bucketConsumer)
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:90
↓ 1 callers
Method
setConverter
(BytesToValueConverter<EdgeDataType> converter)
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:260
↓ 1 callers
Method
setConverter
(BytesToValueConverter<EdgeDataType> converter)
src/main/java/edu/cmu/graphchi/shards/MemoryShard.java:361
↓ 1 callers
Method
setCurInterval
(VertexInterval curInterval)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1047
↓ 1 callers
Method
setDataBlockManager
(DataBlockManager dataBlockManager)
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:252
↓ 1 callers
Method
setDataBlockManager
(DataBlockManager dataBlockManager)
src/main/java/edu/cmu/graphchi/shards/MemoryShard.java:357
↓ 1 callers
Method
setIteration
(int iteration)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1042
↓ 1 callers
Method
setNumEdges
(long numEdges)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1027
↓ 1 callers
Method
setNumIterations
(int numIterations)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1037
↓ 1 callers
Method
setNumVertices
(long numVertices)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1022
↓ 1 callers
Method
setOnlyAdjacency
Load only adjacency data. @param onlyAdjacency
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:908
↓ 1 callers
Method
setOnlyAdjacency
(boolean onlyAdjacency)
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:286
↓ 1 callers
Method
setRow
(int row, double[] arr)
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:118
↓ 1 callers
Method
setSourceAndBucketBits
Sets MAX_SOURCES and bucketSize, which may be different for different subclasses.
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:65
↓ 1 callers
Method
setSources
(int[] sources)
src/main/java/edu/cmu/graphchi/walks/distributions/RemoteDrunkardCompanion.java:22
↓ 1 callers
Method
setThreadLocal
(Object threadLocal)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1017
↓ 1 callers
Method
setValue
Set the value of the vertex. @param x new value
src/main/java/edu/cmu/graphchi/ChiVertex.java:132
↓ 1 callers
Method
setValue
(byte[] array, FloatPair val)
src/main/java/edu/cmu/graphchi/datablocks/FloatPairConverter.java:20
↓ 1 callers
Method
setValue
(byte[] array, Long x)
src/main/java/edu/cmu/graphchi/datablocks/LongConverter.java:39
↓ 1 callers
Method
setValue
(byte[] array, Integer x)
src/main/java/edu/cmu/graphchi/datablocks/IntConverter.java:32
↓ 1 callers
Method
sizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/FloatPairConverter.java:10
↓ 1 callers
Method
sizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/LongConverter.java:24
↓ 1 callers
Method
sizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/IntConverter.java:24
↓ 1 callers
Method
sizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/FloatConverter.java:24
↓ 1 callers
Method
skip
(long offset)
src/main/java/nom/tam/util/BufferedDataInputStream.java:87
↓ 1 callers
Method
skipBytes
(int toSkip)
src/main/java/nom/tam/util/BufferedDataInputStream.java:228
↓ 1 callers
Method
sparserIndex
Returns a sparsified index, which starts with a zero-pointer (and is thus always non-empty)
src/main/java/edu/cmu/graphchi/shards/ShardIndex.java:45
↓ 1 callers
Method
spinUntilFinish
()
src/main/java/edu/cmu/graphchi/walks/DrunkardDriver.java:111
↓ 1 callers
Method
startWriting
(File file, boolean append)
src/main/java/edu/cmu/graphchi/apps/kcore/KCoreDecomposer.java:67
↓ 1 callers
Method
stopWriting
()
src/main/java/edu/cmu/graphchi/apps/kcore/KCoreDecomposer.java:72
↓ 1 callers
Method
testAliasMethod
()
test/edu/cmu/graphchi/walks/TestWeightedHopper.java:114
↓ 1 callers
Method
testBasicMethod
()
test/edu/cmu/graphchi/walks/TestWeightedHopper.java:26
↓ 1 callers
Method
toString
Create a string representation of this object. @return a string representation of the state of the object.
src/main/java/ucar/unidata/io/RandomAccessFile.java:1734
↓ 1 callers
Method
topListInt
Returns a sorted list of top topN vertices having integer values. @param baseFilename input-graph @param numVertices number of vertices in the graph (
src/main/java/edu/cmu/graphchi/util/Toplist.java:61
↓ 1 callers
Method
transform
Performs x -> y transformation to vertex values @param numVertices number of vertices in the graph (hint: use engine.numVertices()) @param baseFilen
src/main/java/edu/cmu/graphchi/vertexdata/VertexTransformer.java:26
↓ 1 callers
Method
writeDegrees
Consteuct the degree-file if we had degrees computed in-memory, @throws IOException
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:337
↓ 1 callers
Method
writeIntervals
()
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:355
↓ 1 callers
Method
writeOutputMatrices
Output in matrix market format @param training @param vertexIdTranslate @throws Exception
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/ALS.java:201
↓ 1 callers
Method
writeOutputMatrices
Output in matrix market format @throws Exception
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:300
Method
ALS
()
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/ALS.java:53
Method
ALSMatrixFactorization
(int D, String baseFilename, int numShards)
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:60
Method
AutoLoaderTask
(VertexInterval interval, int intervalNum, MemoryShard<EdgeDataType> memShard)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:743
Method
BipartiteGraphInfo
(int numLeft, int numRight)
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:282
Method
BitsetScheduler
(int nvertices)
src/main/java/edu/cmu/graphchi/engine/BitsetScheduler.java:21
Method
Block
(String edataFileName, int offset, int end, int fileBlockId, int blockSize)
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:303
Method
BucketsToSend
(int firstVertex, WalkArray walks, int length)
src/main/java/edu/cmu/graphchi/walks/BucketsToSend.java:8
Method
BufferedDataInputStream
Use the BufferedInputStream constructor
src/main/java/nom/tam/util/BufferedDataInputStream.java:52
Method
ChiPointer
(int blockId, int offset)
src/main/java/edu/cmu/graphchi/datablocks/ChiPointer.java:27
Method
ChiVertex
(int id, VertexDegree degree)
src/main/java/edu/cmu/graphchi/ChiVertex.java:93
Method
CircleOfTrustSalsa
(VertexQuery queryService, final int cacheSize)
src/main/java/edu/cmu/graphchi/apps/recommendations/CircleOfTrustSalsa.java:56
Method
DataBlockManager
()
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:30
Method
DegreeData
(String baseFilename)
src/main/java/edu/cmu/graphchi/engine/auxdata/DegreeData.java:45
Method
DiscreteDistribution
(int initialCapacity)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:20
Method
DrunkardCompanion
Creates the DrunkardCompanion object @param numThreads number of worker threads (4 is common) @param maxMemoryBytes maximum amount of memory to use fo
src/main/java/edu/cmu/graphchi/walks/distributions/DrunkardCompanion.java:143
Method
DrunkardDriver
(final DrunkardJob job, WalkUpdateFunction<VertexDataType, EdgeDataType> callback)
src/main/java/edu/cmu/graphchi/walks/DrunkardDriver.java:40
Method
DrunkardJob
(String name, RemoteDrunkardCompanion companion, int numVertices, DrunkardFactory factory)
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:17
Method
DrunkardMobEngine
Create the engine @param factory we allow walks to be represented either as ints or as longs (if more information needs to be stored, e.g. to retrieve
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:39
Method
DumperThread
(LinkedBlockingQueue<BucketsToSend> bucketQueue, AtomicLong pendingWalksToSubmit,
src/main/java/edu/cmu/graphchi/walks/DumperThread.java:14
Method
Edge
(ChiPointer dataPtr, int vertexId)
src/main/java/edu/cmu/graphchi/ChiVertex.java:314
Method
EdgeListOutput
(String fileNamePrefix)
src/main/java/com/twitter/pers/graph_generator/EdgeListOutput.java:14
Method
FastSharder
Constructor @param baseFilename input-file @param numShards the number of shards to be created @param vertexProcessor user-provided function for trans
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:94
Method
FloatPair
(float first, float second)
src/main/java/edu/cmu/graphchi/datablocks/FloatPair.java:13
Method
FriendsOfFriends
Construct friends-of-friends (of followees of followees in Twitter parlance) engine. @param baseFilename graph name @param numShards number of shards
src/main/java/edu/cmu/graphchi/queries/demo/FriendsOfFriends.java:43
Method
GraphChiContext
()
src/main/java/edu/cmu/graphchi/GraphChiContext.java:30
Method
GraphChiDrunkardWrapper
()
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:174
Method
GraphChiEngine
Constructor @param baseFilename input-file name @param nShards number of shards @throws FileNotFoundException @throws IOException
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:103
Method
HDFSGraphLoader
(String hdfsLocation, EdgeProcessor edgeProcessor)
src/main/java/edu/cmu/graphchi/hadoop/HDFSGraphLoader.java:28
Method
HITSSmallMem
()
src/main/java/com/twitter/pers/bipartite/HITSSmallMem.java:61
Method
HugeDoubleMatrix
(long nrows, long ncols, double initialValue)
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:21
Method
HugeFloatMatrix
(long nrows, long ncols, float initialValue)
src/main/java/edu/cmu/graphchi/util/HugeFloatMatrix.java:18
Method
HugeLongMatrix
(long nrows, long ncols, long initialValue)
src/main/java/edu/cmu/graphchi/util/HugeLongMatrix.java:16
Method
IdCount
(int id, int count)
src/main/java/edu/cmu/graphchi/util/IdCount.java:14
Method
IdFloat
(int vertexId, float value)
src/main/java/edu/cmu/graphchi/util/IdFloat.java:12
← previous
next →
401–500 of 1,057, ranked by callers