MCPcopy Create free account

hub / github.com/GraphChi/graphchi-java / functions

Functions1,057 in github.com/GraphChi/graphchi-java

↓ 69 callersMethodwrite
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 callersMethodgetCount
(int id)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:189
↓ 61 callersMethodgetValue
(byte[] array)
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:33
↓ 57 callersMethodsize
()
src/main/java/edu/cmu/graphchi/walks/WalkArray.java:4
↓ 49 callersMethodadd
(int x)
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:16
↓ 49 callersMethodnumOutEdges
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:165
↓ 39 callersMethodclose
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:281
↓ 37 callersMethodgetLogger
(String name)
src/main/java/edu/cmu/graphchi/ChiLogger.java:31
↓ 35 callersMethodgetId
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:111
↓ 31 callersMethodgetVertexId
()
src/main/java/edu/cmu/graphchi/ChiEdge.java:25
↓ 31 callersMethodsizeOf
()
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:31
↓ 30 callersMethodbackward
Translates internal id to original id @param transId @return
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:46
↓ 29 callersMethodnumInEdges
()
src/main/java/edu/cmu/graphchi/ChiVertex.java:170
↓ 27 callersMethodwriteInt
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 callersMethodlength
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 callersMethodreadInt
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 callersMethodsetValue
(byte[] array, T val)
src/main/java/edu/cmu/graphchi/datablocks/BytesToValueConverter.java:35
↓ 25 callersMethodgetIteration
()
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:23
↓ 25 callersMethodread
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 callersMethodequals
(Object o)
src/main/java/edu/cmu/graphchi/util/IdCount.java:23
↓ 24 callersMethodoutEdge
Get i'th outedge @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:245
↓ 24 callersMethodshard
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 callersMethodseek
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 callersMethodforward
Translates original vertex id to internal vertex id @param origId @return
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:37
↓ 22 callersMethodinEdge
Get i'th in-edge @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:231
↓ 20 callersMethodformat
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 callersMethodread
(byte[] buf, int offset, int len)
src/main/java/nom/tam/util/BufferedDataInputStream.java:62
↓ 19 callersMethodgetFirstVertex
()
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:8
↓ 19 callersMethodgetWalksAtVertex
(int vertexId, boolean processed)
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:18
↓ 18 callersMethodnumEdges
()
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:690
↓ 17 callersMethodgetLastVertex
()
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:10
↓ 17 callersMethodgetWalkManager
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:70
↓ 17 callersMethodsize
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:198
↓ 16 callersMethodgetArray
()
src/main/java/edu/cmu/graphchi/walks/IntWalkArray.java:15
↓ 15 callersMethodgetValue
()
src/main/java/edu/cmu/graphchi/ChiEdge.java:27
↓ 15 callersMethodnumVertices
@return the number of vertices in the current graph
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:168
↓ 15 callersMethodsetEdataConverter
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 callersMethodsetVertexDataConverter
Sets the bytes->vertex value converter object. @param vertexDataConverter
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:840
↓ 14 callersMethodedge
Get i'th edge (in- our out-edge). @param i @return edge object
src/main/java/edu/cmu/graphchi/ChiVertex.java:272
↓ 14 callersMethodsort
()
src/main/java/edu/cmu/graphchi/walks/analysis/WalkPathAnalyzerTemplate.java:214
↓ 14 callersMethodsourceIdx
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:55
↓ 13 callersMethodgetFilenameIntervals
(String baseFilename, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:69
↓ 13 callersMethodgetVertexIdTranslate
Object for translating from internal to original vertex ids @return
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:29
↓ 13 callersMethodrun
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 callersMethodtrackBit
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:59
↓ 12 callersMethodgetRawBlock
(int blockId)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:44
↓ 12 callersMethodmerge
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 callersMethodadd
(int walk, int destination, boolean trackBit)
src/main/java/edu/cmu/graphchi/walks/IntLocalWalkBuffer.java:11
↓ 11 callersMethodflush
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:214
↓ 11 callersMethodsetModifiesInedges
Disable/enable writing of in-edges (enabled by default) @param modifiesInedges
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:888
↓ 11 callersMethodtrackBit
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:59
↓ 10 callersMethodencode
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 callersMethodencode
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 callersMethodreadUnsignedByte
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 callersMethodsourceIdx
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:55
↓ 9 callersMethodgetVertexIdTranslate
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 callersMethodgetVertexIntervalLength
()
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:52
↓ 9 callersMethodoff
(int walk)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:63
↓ 9 callersMethodoff
(long walk)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:63
↓ 9 callersMethodsetValue
(EdgeData x)
src/main/java/edu/cmu/graphchi/ChiEdge.java:29
↓ 9 callersMethodskipBytes
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 callersMethodclear
(int vertexId)
src/main/java/edu/cmu/graphchi/walks/WalkSnapshot.java:12
↓ 8 callersMethodforeach
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 callersMethodgetCompanion
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:66
↓ 8 callersMethodgetGraphName
()
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:76
↓ 8 callersMethodgetWalkLength
(WalkArray w)
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:146
↓ 8 callersMethodhasNext
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:244
↓ 8 callersMethodmemorySizeEst
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:208
↓ 8 callersMethodnext
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:249
↓ 8 callersMethodprimitiveEOFThrower
()
src/main/java/nom/tam/util/BufferedDataInputStream.java:459
↓ 8 callersMethodreadLine
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 callersMethodremove
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:254
↓ 7 callersMethodallocateBlock
(int numBytes)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:34
↓ 7 callersMethoddereference
(ChiPointer ptr, BytesToValueConverter<T> conv)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:80
↓ 7 callersMethodfilteredAndShift
(int minimumCount)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:139
↓ 7 callersMethodgetScheduler
Get the scheduler bound to this computation. @return scheduler
src/main/java/edu/cmu/graphchi/GraphChiContext.java:69
↓ 7 callersMethodgrabSnapshot
(final int fromVertex, final int toVertexInclusive)
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:184
↓ 7 callersMethodgrabSnapshot
(final int fromVertex, final int toVertexInclusive)
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:187
↓ 7 callersMethodmax
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:216
↓ 7 callersMethodtoIntArray
()
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:29
↓ 7 callersMethodwriteValue
(ChiPointer ptr, BytesToValueConverter<T> conv, T value)
src/main/java/edu/cmu/graphchi/datablocks/DataBlockManager.java:91
↓ 6 callersMethodaddTask
Ask a vertex to be updated. @param vertexId
src/main/java/edu/cmu/graphchi/Scheduler.java:17
↓ 6 callersMethodgetFilenameShardEdataBlock
(String edataShardname, int blockId, int blocksize)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:48
↓ 6 callersMethodgetFilenameShardsAdj
(String baseFilename, int p, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:65
↓ 6 callersMethodgetName
()
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:58
↓ 6 callersMethodgetOutEdgeId
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 callersMethodgetTop
(int vertexId, int nTop)
src/main/java/edu/cmu/graphchi/walks/distributions/RemoteDrunkardCompanion.java:32
↓ 6 callersMethodgetVertexTranslateDefFile
(String baseFilename, int nshards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:73
↓ 6 callersMethodload
Load vertices' data @param _vertexSt @param _vertexEn inclusive @return @throws IOException
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:148
↓ 6 callersMethodlookup
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 callersMethodnumVertices
(String baseFilename, int numShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:115
↓ 6 callersMethodrelease
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:334
↓ 6 callersMethodsetEnableScheduler
Enabled the selective scheduling. By default, scheduling is not enabled. @param enableScheduler
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:832
↓ 6 callersMethodsetOnlyAdjacency
(boolean onlyAdjacency)
src/main/java/edu/cmu/graphchi/shards/MemoryShard.java:377
↓ 6 callersMethodshutdown
Shutdowns the executor threads.
src/main/java/edu/cmu/graphchi/queries/VertexQuery.java:188
↓ 6 callersMethodtoString
()
src/main/java/edu/cmu/graphchi/util/IdCount.java:40
↓ 5 callersMethodaddEdge
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 callersMethodclose
()
src/main/java/edu/cmu/graphchi/walks/distributions/TwoKeyCompanion.java:419
↓ 5 callersMethodcreateAvoidanceDistribution
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 callersMethoddisableCompression
()
src/main/java/edu/cmu/graphchi/io/CompressedIO.java:64
next →1–100 of 1,057, ranked by callers