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
↓ 69 callers
Method
write
Write a byte to the file. If the file has not been opened for writing, an IOException will be raised only when an attempt is made to write the buffer
src/main/java/ucar/unidata/io/RandomAccessFile.java:773
↓ 61 callers
Method
getCount
(int id)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:189
↓ 61 callers
Method
getValue
(byte[] array)
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:33
↓ 57 callers
Method
size
()
src/main/java/edu/cmu/graphchi/walks/WalkArray.java:4
↓ 49 callers
Method
add
(int x)
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:16
↓ 49 callers
Method
numOutEdges
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:165
↓ 39 callers
Method
close
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:281
↓ 37 callers
Method
getLogger
(String name)
src/main/java/edu/cmu/graphchi/ChiLogger.java:31
↓ 35 callers
Method
getId
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:111
↓ 31 callers
Method
getVertexId
()
src/main/java/edu/cmu/graphchi/ChiEdge.java:25
↓ 31 callers
Method
sizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:31
↓ 30 callers
Method
backward
Translates internal id to original id @param transId @return
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:46
↓ 29 callers
Method
numInEdges
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:170
↓ 27 callers
Method
writeInt
Writes an <code>int</code> to the file as four bytes, high byte first. @param v an <code>int</code> to be written. @throws IOException if an I/O erro
src/main/java/ucar/unidata/io/RandomAccessFile.java:1522
↓ 26 callers
Method
length
Get the length of the file. The data in the buffer (which may not have been written the disk yet) is taken into account. @return the length of the fi
src/main/java/ucar/unidata/io/RandomAccessFile.java:426
↓ 26 callers
Method
readInt
Reads a signed 32-bit integer from this file. This method reads 4 bytes from the file. If the bytes read, in order, are <code>b1</code>, <code>b2</cod
src/main/java/ucar/unidata/io/RandomAccessFile.java:1101
↓ 26 callers
Method
setValue
(byte[] array, T val)
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:35
↓ 25 callers
Method
getIteration
()
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:23
↓ 25 callers
Method
read
Read a byte of data from the file, blocking until data is available. @return the next byte of data, or -1 if the end of the file is reached.
src/main/java/ucar/unidata/io/RandomAccessFile.java:506
↓ 24 callers
Method
equals
(Object o)
src/main/java/edu/cmu/graphchi/util/IdCount.java:23
↓ 24 callers
Method
outEdge
Get i'th outedge @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:245
↓ 24 callers
Method
shard
Execute sharding by reading edges from a inputstream @param inputStream @param format graph input format @throws IOException
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:681
↓ 23 callers
Method
seek
Set the position in the file for the next read or write. @param pos the offset (in bytes) from the start of the file. @throws IOException if an I/O e
src/main/java/ucar/unidata/io/RandomAccessFile.java:365
↓ 22 callers
Method
forward
Translates original vertex id to internal vertex id @param origId @return
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:37
↓ 22 callers
Method
inEdge
Get i'th in-edge @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:231
↓ 20 callers
Method
format
Format the given LogRecord. @param record the log record to be formatted. @return a formatted log record
src/main/java/edu/cmu/graphchi/ChiLogger.java:61
↓ 20 callers
Method
read
(byte[] buf, int offset, int len)
src/main/java/nom/tam/util/BufferedDataInputStream.java:62
↓ 19 callers
Method
getFirstVertex
()
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:8
↓ 19 callers
Method
getWalksAtVertex
(int vertexId, boolean processed)
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:18
↓ 18 callers
Method
numEdges
()
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:690
↓ 17 callers
Method
getLastVertex
()
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:10
↓ 17 callers
Method
getWalkManager
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:70
↓ 17 callers
Method
size
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:198
↓ 16 callers
Method
getArray
()
src/main/java/edu/cmu/graphchi/walks/IntWalkArray.java:15
↓ 15 callers
Method
getValue
()
src/main/java/edu/cmu/graphchi/ChiEdge.java:27
↓ 15 callers
Method
numVertices
@return the number of vertices in the current graph
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:168
↓ 15 callers
Method
setEdataConverter
Sets the bytes->edge value converter object. If the object is null, then no edge-values are read (only adjacency information). @param edataConverter
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:850
↓ 15 callers
Method
setVertexDataConverter
Sets the bytes->vertex value converter object. @param vertexDataConverter
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:840
↓ 14 callers
Method
edge
Get i'th edge (in- our out-edge). @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:272
↓ 14 callers
Method
sort
()
src/main/java/edu/cmu/graphchi/walks/analysis/WalkPathAnalyzerTemplate.java:214
↓ 14 callers
Method
sourceIdx
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:55
↓ 13 callers
Method
getFilenameIntervals
(String baseFilename, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:69
↓ 13 callers
Method
getVertexIdTranslate
Object for translating from internal to original vertex ids @return
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:29
↓ 13 callers
Method
run
Runs the GraphChi program for given number of iterations. <b>Note:</b> Prior to calling this, you must have set the edge-data and vertex-data converte
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:220
↓ 13 callers
Method
trackBit
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:59
↓ 12 callers
Method
getRawBlock
(int blockId)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:44
↓ 12 callers
Method
merge
Merge too distribution. If either has a negative entry for some id, it will remain negative in the merged distribution (see createAvoidDistribution).
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:231
↓ 11 callers
Method
add
(int walk, int destination, boolean trackBit)
src/main/java/edu/cmu/graphchi/walks/IntLocalWalkBuffer.java:11
↓ 11 callers
Method
flush
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:214
↓ 11 callers
Method
setModifiesInedges
Disable/enable writing of in-edges (enabled by default) @param modifiesInedges
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:888
↓ 11 callers
Method
trackBit
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:59
↓ 10 callers
Method
encode
Encode a walk. Note, as sourceIdx is the highest order bits, the walks can be sorted by source simply by sorting the list. @param sourceId index of th
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:41
↓ 10 callers
Method
encode
Encode a walk. Note, as sourceIdx is the highest order bits, the walks can be sorted by source simply by sorting the list. @param sourceId index of th
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:41
↓ 10 callers
Method
readUnsignedByte
Reads an unsigned 8-bit number from this file. This method reads a byte from this file and returns that byte. <p/> This method blocks until the byte i
src/main/java/ucar/unidata/io/RandomAccessFile.java:950
↓ 10 callers
Method
sourceIdx
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:55
↓ 9 callers
Method
getVertexIdTranslate
GraphChi uses internal vertex ids. To translate from the internal ids to the ids used in the original graph, obtain VertexIdTranslate object by using
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:1003
↓ 9 callers
Method
getVertexIntervalLength
()
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:52
↓ 9 callers
Method
off
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:63
↓ 9 callers
Method
off
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:63
↓ 9 callers
Method
setValue
(EdgeData x)
src/main/java/edu/cmu/graphchi/ChiEdge.java:29
↓ 9 callers
Method
skipBytes
Skips exactly <code>n</code> bytes of input. This method blocks until all the bytes are skipped, the end of the stream is detected, or an exception is
src/main/java/ucar/unidata/io/RandomAccessFile.java:737
↓ 8 callers
Method
clear
(int vertexId)
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:12
↓ 8 callers
Method
foreach
Enumerate vertices using a callback @see edu.cmu.graphchi.vertexdata.ForeachCallback @param numVertices number of vertices in the graph (hint: use eng
src/main/java/edu/cmu/graphchi/vertexdata/VertexAggregator.java:48
↓ 8 callers
Method
getCompanion
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:66
↓ 8 callers
Method
getGraphName
()
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:76
↓ 8 callers
Method
getWalkLength
(WalkArray w)
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:146
↓ 8 callers
Method
hasNext
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:244
↓ 8 callers
Method
memorySizeEst
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:208
↓ 8 callers
Method
next
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:249
↓ 8 callers
Method
primitiveEOFThrower
()
src/main/java/nom/tam/util/BufferedDataInputStream.java:459
↓ 8 callers
Method
readLine
Reads the next line of text from this file. This method successively reads bytes from the file, starting at the current file pointer, until it reache
src/main/java/ucar/unidata/io/RandomAccessFile.java:1354
↓ 8 callers
Method
remove
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:254
↓ 7 callers
Method
allocateBlock
(int numBytes)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:34
↓ 7 callers
Method
dereference
(ChiPointer ptr, BytesToValueConverter<T> conv)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:80
↓ 7 callers
Method
filteredAndShift
(int minimumCount)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:139
↓ 7 callers
Method
getScheduler
Get the scheduler bound to this computation. @return scheduler
src/main/java/edu/cmu/graphchi/GraphChiContext.java:69
↓ 7 callers
Method
grabSnapshot
(final int fromVertex, final int toVertexInclusive)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:184
↓ 7 callers
Method
grabSnapshot
(final int fromVertex, final int toVertexInclusive)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:187
↓ 7 callers
Method
max
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:216
↓ 7 callers
Method
toIntArray
()
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:29
↓ 7 callers
Method
writeValue
(ChiPointer ptr, BytesToValueConverter<T> conv, T value)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:91
↓ 6 callers
Method
addTask
Ask a vertex to be updated. @param vertexId
src/main/java/edu/cmu/graphchi/Scheduler.java:17
↓ 6 callers
Method
getFilenameShardEdataBlock
(String edataShardname, int blockId, int blocksize)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:48
↓ 6 callers
Method
getFilenameShardsAdj
(String baseFilename, int p, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:65
↓ 6 callers
Method
getName
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:58
↓ 6 callers
Method
getOutEdgeId
Get vertex-id of the i'th out edge (avoid creating the edge-object). @param i
src/main/java/edu/cmu/graphchi/ChiVertex.java:258
↓ 6 callers
Method
getTop
(int vertexId, int nTop)
src/main/java/edu/cmu/graphchi/walks/distributions/RemoteDrunkardCompanion.java:32
↓ 6 callers
Method
getVertexTranslateDefFile
(String baseFilename, int nshards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:73
↓ 6 callers
Method
load
Load vertices' data @param _vertexSt @param _vertexEn inclusive @return @throws IOException
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:148
↓ 6 callers
Method
lookup
Finds closest index entry for given vertex id, which is before the vertex. @param vertexId @return
src/main/java/edu/cmu/graphchi/shards/ShardIndex.java:64
↓ 6 callers
Method
numVertices
(String baseFilename, int numShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:115
↓ 6 callers
Method
release
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:334
↓ 6 callers
Method
setEnableScheduler
Enabled the selective scheduling. By default, scheduling is not enabled. @param enableScheduler
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:832
↓ 6 callers
Method
setOnlyAdjacency
(boolean onlyAdjacency)
src/main/java/edu/cmu/graphchi/shards/MemoryShard.java:377
↓ 6 callers
Method
shutdown
Shutdowns the executor threads.
src/main/java/edu/cmu/graphchi/queries/VertexQuery.java:188
↓ 6 callers
Method
toString
()
src/main/java/edu/cmu/graphchi/util/IdCount.java:40
↓ 5 callers
Method
addEdge
Adds an edge to the preprocessing. @param from @param to @param edgeValueToken @throws IOException
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:152
↓ 5 callers
Method
close
()
src/main/java/edu/cmu/graphchi/walks/distributions/TwoKeyCompanion.java:419
↓ 5 callers
Method
createAvoidanceDistribution
Create a special avoidance distribution, where each count is -1. @param avoids sorted list of ids to avoid @return
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:181
↓ 5 callers
Method
disableCompression
()
src/main/java/edu/cmu/graphchi/io/CompressedIO.java:64
next →
1–100 of 1,057, ranked by callers