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
↓ 5 callers
Method
fromFile
(File f)
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:84
↓ 5 callers
Method
getBlocksize
(int sizeOf)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:77
↓ 5 callers
Method
getFilenameOfDegreeData
(String baseFilename, boolean sparse)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:33
↓ 5 callers
Method
getNumLeft
()
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:287
↓ 5 callers
Method
getPath
()
src/main/java/edu/cmu/graphchi/walks/analysis/WalkPathAnalyzerTemplate.java:206
↓ 5 callers
Method
getTop
(int topN)
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:64
↓ 5 callers
Method
getVertexValuePtr
(int vertexId, int blockId)
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:217
↓ 5 callers
Method
readFully
Reads <code>b.length</code> bytes from this file into the byte array. This method reads repeatedly from the file until all the bytes are read. This me
src/main/java/ucar/unidata/io/RandomAccessFile.java:698
↓ 5 callers
Method
setBlockManager
(DataBlockManager blockManager)
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:230
↓ 5 callers
Method
setEnableDeterministicExecution
Enabled or disables the deterministic parallelism. It is enabled by default. See http://code.google.com/p/graphchi/wiki/IntroductionToGraphChi section
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:864
↓ 5 callers
Method
setModifiesOutedges
(boolean modifiesOutedges)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:896
↓ 5 callers
Method
setStatusString
(String status)
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:90
↓ 4 callers
Method
addJob
Adds a random walk job. Use run() to run all the jobs. @param edgeDirection which direction edges need to be considered @param callback your walk log
src/main/java/edu/cmu/graphchi/walks/DrunkardMobEngine.java:101
↓ 4 callers
Method
addWalkBatch
Add a set of walks from a source. Note, you must add the walks in sorted order! @param vertex source vertex @param numWalks @return
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:101
↓ 4 callers
Method
currentIterator
()
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:240
↓ 4 callers
Method
forwardWalkTo
Moves walk to next vertex @param walk walk identified @param destinationVertex vertex id to move hte walk to @param trackBit set to true if this walk
src/main/java/edu/cmu/graphchi/walks/IntDrunkardContext.java:14
↓ 4 callers
Method
getDestination
()
src/main/java/edu/cmu/graphchi/walks/analysis/WalkPathAnalyzerTemplate.java:202
↓ 4 callers
Method
getFilePointer
Returns the current position in the file, where the next read or write will occur. @return the offset from the start of the file in bytes. @throws IO
src/main/java/ucar/unidata/io/RandomAccessFile.java:406
↓ 4 callers
Method
getFilenameShardEdata
(String baseFilename, BytesToValueConverter valueConv, int p, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:61
↓ 4 callers
Method
getFirst
(long l)
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:242
↓ 4 callers
Method
getNumVertices
@return the total number of vertices in the current graph
src/main/java/edu/cmu/graphchi/GraphChiContext.java:91
↓ 4 callers
Method
getOutEdgeValue
Returns the value of i'th outedge (short-cut to outEdge(i)->getValue()) @param i @return the value of i'th outedge (short-cut to outEdge(i)->getValue
src/main/java/edu/cmu/graphchi/ChiVertex.java:304
↓ 4 callers
Method
getRow
(int row, long[] arr)
src/main/java/edu/cmu/graphchi/util/HugeLongMatrix.java:85
↓ 4 callers
Method
getRowAsVector
(int row)
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:108
↓ 4 callers
Method
getSecond
(long l)
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:246
↓ 4 callers
Method
getTotalWalks
()
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:123
↓ 4 callers
Method
getValue
(int row, int col)
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:56
↓ 4 callers
Method
isWalkStartedFromVertex
Returns true if walk was started from the vertex
src/main/java/edu/cmu/graphchi/walks/IntDrunkardContext.java:28
↓ 4 callers
Method
moveWalk
@param sourceId @param toVertex @param trackBit true if odd, false if even hop
src/main/java/edu/cmu/graphchi/walks/IntWalkManager.java:84
↓ 4 callers
Method
moveWalk
@param sourceId @param toVertex @param trackBit true if odd, false if even hop
src/main/java/edu/cmu/graphchi/walks/LongWalkManager.java:84
↓ 4 callers
Method
numEdges
@return the number of in- and out-edges
src/main/java/edu/cmu/graphchi/ChiVertex.java:280
↓ 4 callers
Method
packEdges
Bit arithmetic for packing two 32-bit vertex-ids into one 64-bit long. @param a @param b @return
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:238
↓ 4 callers
Method
processWalks
(WalkArray walks, int[] atVertices)
src/main/java/edu/cmu/graphchi/walks/distributions/RemoteDrunkardCompanion.java:24
↓ 4 callers
Method
queryOutNeighbors
Queries out=neighbors for a given set of vertices. @param queryVertices @return
src/main/java/edu/cmu/graphchi/queries/VertexQuery.java:100
↓ 4 callers
Method
randomize
Randomize the content with numbers between from and to @param from min value @param to max value
src/main/java/edu/cmu/graphchi/util/HugeFloatMatrix.java:166
↓ 4 callers
Method
resetWalk
(int walk, boolean trackBit)
src/main/java/edu/cmu/graphchi/walks/IntDrunkardContext.java:16
↓ 4 callers
Method
setDisableInedges
(boolean b)
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:913
↓ 4 callers
Method
setSkipZeroDegreeVertices
You can instruct the engine to automatically ignore vertices that do not have any edges. By default this is <b>false</b>. @param skipZeroDegreeVertice
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:161
↓ 4 callers
Method
setValue
(int row, int col, double val)
src/main/java/edu/cmu/graphchi/util/HugeDoubleMatrix.java:63
↓ 4 callers
Method
size
()
src/main/java/edu/cmu/graphchi/util/IntegerBuffer.java:25
↓ 4 callers
Method
toIntArray
(ArrayList<Integer> arr)
test/edu/cmu/graphchi/walks/distribution/TestDiscreteDistribution.java:77
↓ 4 callers
Method
update
Called for every (scheduled) vertex @param vertex the current vertex @param context context representing the current state of the computation
src/main/java/edu/cmu/graphchi/GraphChiProgram.java:33
↓ 4 callers
Method
vertexIterator
Returns an iterator to vertices. Vertices are iterated in their internal-order, but the iterator elements have the original ids. @param numVertices nu
src/main/java/edu/cmu/graphchi/vertexdata/VertexAggregator.java:83
↓ 4 callers
Method
writeByte
Writes a <code>byte</code> to the file as a 1-byte value. @param v a <code>byte</code> value to be written. @throws IOException if an I/O error occur
src/main/java/ucar/unidata/io/RandomAccessFile.java:1460
↓ 4 callers
Method
writeCompressed
(File f, byte[] data, int nbytes)
src/main/java/edu/cmu/graphchi/io/CompressedIO.java:50
↓ 3 callers
Method
addOutEdge
INTERNAL USE ONLY (TODO: separate better)
src/main/java/edu/cmu/graphchi/ChiVertex.java:204
↓ 3 callers
Method
clone
(int _threadId)
src/main/java/edu/cmu/graphchi/GraphChiContext.java:139
↓ 3 callers
Method
close
Close the file, and release any associated system resources. @throws IOException if an I/O error occurrs.
src/main/java/ucar/unidata/io/RandomAccessFile.java:317
↓ 3 callers
Method
flush
Copy the contents of the buffer to the disk. @throws IOException if an I/O error occurs.
src/main/java/ucar/unidata/io/RandomAccessFile.java:462
↓ 3 callers
Method
getDegree
Returns degree of a vertex. The vertex must be in the previous interval loaded using load(). @param vertexId id of the vertex @return VertexDegree ob
src/main/java/edu/cmu/graphchi/engine/auxdata/DegreeData.java:133
↓ 3 callers
Method
getNumIterations
@return the total number of iterations
src/main/java/edu/cmu/graphchi/GraphChiContext.java:57
↓ 3 callers
Method
getNumRight
()
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:291
↓ 3 callers
Method
getShardEdataSize
(String edataShardname)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:53
↓ 3 callers
Method
getStatusString
()
src/main/java/edu/cmu/graphchi/hadoop/PigGraphChiBase.java:179
↓ 3 callers
Method
getSubInterval
()
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:715
↓ 3 callers
Method
getValue
(int row, int col)
src/main/java/edu/cmu/graphchi/util/HugeFloatMatrix.java:53
↓ 3 callers
Method
getVertexSourceIdx
(int vertexId)
src/main/java/edu/cmu/graphchi/walks/WalkManager.java:80
↓ 3 callers
Method
hasNext
()
src/main/java/edu/cmu/graphchi/vertexdata/VertexAggregator.java:99
↓ 3 callers
Method
hopToHighRatings
(int[] walks, ChiVertex<Integer, Float> vertex, IntDrunkardContext drunkardContext, Random randomGenerator)
src/main/java/edu/cmu/graphchi/apps/recommendations/MovieRecommender.java:132
↓ 3 callers
Method
identity
()
src/main/java/edu/cmu/graphchi/preprocessing/VertexIdTranslate.java:94
↓ 3 callers
Method
init
(int bufferSize)
src/main/java/ucar/unidata/io/RandomAccessFile.java:283
↓ 3 callers
Method
initWeights
(int n)
test/edu/cmu/graphchi/walks/TestWeightedHopper.java:15
↓ 3 callers
Method
isScheduled
(int i)
src/main/java/edu/cmu/graphchi/Scheduler.java:25
↓ 3 callers
Method
isSource
Returns whether vertex id is a source of random walks. @return
src/main/java/edu/cmu/graphchi/walks/DrunkardContext.java:14
↓ 3 callers
Method
loadIntervals
(String baseFilename, int nShards)
src/main/java/edu/cmu/graphchi/ChiFilenames.java:99
↓ 3 callers
Method
mergeWith
(int sourceIdx, DiscreteDistribution distr)
src/main/java/edu/cmu/graphchi/walks/distributions/DrunkardCompanion.java:208
↓ 3 callers
Method
namify
(Integer value)
src/main/java/edu/cmu/graphchi/queries/demo/FriendsOfFriends.java:157
↓ 3 callers
Method
predict
Compute a prediction. Note: need to use the internal vertex-ids. @param leftVertex (often "user") @param rightVertex (often "movie") @return
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:72
↓ 3 callers
Method
readCompressed
(File f, byte[] buf, int nbytes)
src/main/java/edu/cmu/graphchi/io/CompressedIO.java:31
↓ 3 callers
Method
read_
Read directly from file, without going through the buffer. All reading goes through here or readToByteChannel; @param pos start here in the file @
src/main/java/ucar/unidata/io/RandomAccessFile.java:630
↓ 3 callers
Method
recommendFriends
Recommend friends @param vertexId queryAndCombine vertex @param fanOut maximum of queryAndCombine vertex's friends to consider. Selected randomly. @t
src/main/java/edu/cmu/graphchi/queries/demo/FriendsOfFriends.java:76
↓ 3 callers
Method
releaseAndCommit
(int firstVertex, int blockId)
src/main/java/edu/cmu/graphchi/engine/auxdata/VertexData.java:109
↓ 3 callers
Method
setDisableOutEdges
Disable loading of out-edges @param disableOutEdges
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:876
↓ 3 callers
Method
setMaxWindow
Configures the maximum number of vertices loaded at any time. Default is 20 million. Generally you should not needed to modify this. @param maxWindow
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:930
↓ 3 callers
Method
setMemoryBudgetMb
Set the memorybudget in megabytes. Default is JVM's max memory / 4. Memory budget affects the number of vertices loaded into memory at any time. @para
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:144
↓ 3 callers
Method
setOffset
(int newoff, int _curvid, int edgeptr)
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:218
↓ 3 callers
Method
setValue
(int row, int col, float val)
src/main/java/edu/cmu/graphchi/util/HugeFloatMatrix.java:60
↓ 3 callers
Method
sortWithValues
(long[] shoveled, byte[] edgeValues, int sizeOf)
src/main/java/edu/cmu/graphchi/preprocessing/FastSharder.java:670
↓ 3 callers
Method
topListFloat
Returns a sorted list of top topN vertices having float values. @param baseFilename input-graph @param numVertices number of vertices in the graph (us
src/main/java/edu/cmu/graphchi/util/Toplist.java:31
↓ 3 callers
Method
writeLong
Writes a <code>long</code> to the file as eight bytes, high byte first. @param v a <code>long</code> to be written. @throws IOException if an I/O err
src/main/java/ucar/unidata/io/RandomAccessFile.java:1549
↓ 2 callers
Method
addInEdge
INTERNAL USE ONLY (TODO: separate better)
src/main/java/edu/cmu/graphchi/ChiVertex.java:177
↓ 2 callers
Method
addTask
Adds a vertex to schedule @param vertexId
src/main/java/edu/cmu/graphchi/engine/BitsetScheduler.java:30
↓ 2 callers
Method
als_predict
(RealVector user, RealVector item)
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/ALS.java:56
↓ 2 callers
Method
avoidCount
()
src/main/java/edu/cmu/graphchi/walks/distributions/DiscreteDistribution.java:202
↓ 2 callers
Method
beginInterval
Called when a new interval of vertices (corresponding to shards, see http://code.google.com/p/graphchi/wiki/IntroductionToGraphChi) is being processed
src/main/java/edu/cmu/graphchi/GraphChiProgram.java:56
↓ 2 callers
Method
beginIteration
Called when a new iteration starts @param ctx
src/main/java/edu/cmu/graphchi/GraphChiProgram.java:39
↓ 2 callers
Method
beginSubInterval
Called when a new sub-interval of vertices (see http://code.google.com/p/graphchi/wiki/IntroductionToGraphChi) is being processed. @param ctx @param i
src/main/java/edu/cmu/graphchi/GraphChiProgram.java:67
↓ 2 callers
Method
broadcastValue
Broadcasts a value to the neighbors by writing it to the out-edges
src/main/java/edu/cmu/graphchi/apps/kcore/KCoreDecomposer.java:152
↓ 2 callers
Method
commitNow
()
src/main/java/edu/cmu/graphchi/shards/SlidingShard.java:323
↓ 2 callers
Method
compareTo
(IdCount idCount)
src/main/java/edu/cmu/graphchi/util/IdCount.java:19
↓ 2 callers
Method
computeALS
Compute ALS and return the ALS object which can be used to compute predictions. @param baseFilename @param nShards @param D @return @throws IOExceptio
src/main/java/edu/cmu/graphchi/apps/ALSMatrixFactorization.java:235
↓ 2 callers
Method
computeSALSA
Compute SALSA on graph initialized in initializeGraph() method. @param nIterations
src/main/java/edu/cmu/graphchi/apps/recommendations/CircleOfTrustSalsa.java:175
↓ 2 callers
Method
configureSourceRangeInternalIds
Start walks from vertex firstSourceId to firstSourceId + numSources @param firstSourceId @param numSources how many walks to start from each source @
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:31
↓ 2 callers
Method
configureWalkSources
Configure walks starting from list of vertices @param walkSources @param walksPerSource
src/main/java/edu/cmu/graphchi/walks/DrunkardJob.java:47
↓ 2 callers
Method
consume
(int firstVertexInBucket, WalkArray walkBucket, int len)
src/main/java/edu/cmu/graphchi/walks/GrabbedBucketConsumer.java:4
↓ 2 callers
Method
createMemoryShard
For definition of "memory shards", see http://code.google.com/p/graphchi/wiki/IntroductionToGraphChi @throws IOException
src/main/java/edu/cmu/graphchi/engine/GraphChiEngine.java:197
↓ 2 callers
Method
createSharder
Initialize the sharder-program. @param graphName @param numShards @return @throws java.io.IOException
src/main/java/edu/cmu/graphchi/toolkits/collaborative_filtering/IO.java:33
↓ 2 callers
Method
createSharder
(String graphName, int numShards)
src/main/java/edu/cmu/graphchi/apps/randomwalks/PersonalizedPageRank.java:151
↓ 2 callers
Method
createSharder
(String graphName, int numShards)
src/main/java/edu/cmu/graphchi/apps/recommendations/TwitterWTF.java:261
↓ 2 callers
Method
createWalkManager
(int numVertices, int numSources)
src/main/java/edu/cmu/graphchi/walks/DrunkardFactory.java:6
← previous
next →
101–200 of 1,057, ranked by callers