es.yrbcn.graph.triangles
Class MainmemBitbasedTrianglesAlgorithm
java.lang.Object
es.yrbcn.graph.triangles.TrianglesAlgorithm
es.yrbcn.graph.triangles.BitbasedTrianglesAlgorithm
es.yrbcn.graph.triangles.MainmemBitbasedTrianglesAlgorithm
public class MainmemBitbasedTrianglesAlgorithm
- 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 |
MainmemBitbasedTrianglesAlgorithm
public MainmemBitbasedTrianglesAlgorithm(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