public class MainmemlongBitbasedTrianglesAlgorithm extends BitbasedTrianglesAlgorithm
BUFFER_SIZE, currentPass, DEFAULT_MAX_PASSESDEFAULT_WIDTH, done, graph, maxDistance, numNodes, random, triangles| Constructor and Description |
|---|
MainmemlongBitbasedTrianglesAlgorithm(it.unimi.dsi.webgraph.ImmutableGraph graph,
int seed,
short maxDistance) |
| Modifier and Type | Method and Description |
|---|---|
void |
countTriangles() |
void |
step()
Does one step of the algorithm; this is called until done()
|
destroyHashFunction, getHash, init, initHashFunction, setMaxPassesdonepublic MainmemlongBitbasedTrianglesAlgorithm(it.unimi.dsi.webgraph.ImmutableGraph graph,
int seed,
short maxDistance)
public void step()
throws IOException
TrianglesAlgorithmstep in class BitbasedTrianglesAlgorithmFileNotFoundExceptionIOExceptionpublic void countTriangles()
countTriangles in class BitbasedTrianglesAlgorithm