es.yrbcn.graph.triangles
Class MainmemlongBitbasedTrianglesAlgorithm
java.lang.Object
es.yrbcn.graph.triangles.TrianglesAlgorithm
es.yrbcn.graph.triangles.BitbasedTrianglesAlgorithm
es.yrbcn.graph.triangles.MainmemlongBitbasedTrianglesAlgorithm
public class MainmemlongBitbasedTrianglesAlgorithm
- extends BitbasedTrianglesAlgorithm
Method Summary |
void |
countTriangles()
|
void |
step()
Does one step of the algorithm; this is called until done() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainmemlongBitbasedTrianglesAlgorithm
public MainmemlongBitbasedTrianglesAlgorithm(ImmutableGraph graph,
int seed,
short maxDistance)
step
public void step()
throws IOException
- Description copied from class:
TrianglesAlgorithm
- Does one step of the algorithm; this is called until done()
- Overrides:
step
in class BitbasedTrianglesAlgorithm
- Throws:
FileNotFoundException
IOException
countTriangles
public void countTriangles()
- Overrides:
countTriangles
in class BitbasedTrianglesAlgorithm