es.yrbcn.graph.triangles
Class RunTriangles

java.lang.Object
  extended by es.yrbcn.graph.triangles.RunTriangles

public class RunTriangles
extends Object

Runs a triangle counting algorithm. The algorithm can be provided as an argument in the commandline.

Author:
chato

Field Summary
static short DEFAULT_MAX_DISTANCE
          Default distance
static int DEFAULT_SEED
          Seed for the random number generator
 ImmutableGraph graph
          The graph
static int keyNodesCount
           
static short maxDistance
          The distance of the iterations
 int numNodes
          The number of nodes.
static int PARTIAL_SAVE_EVERY
           
 
Constructor Summary
RunTriangles()
           
 
Method Summary
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_DISTANCE

public static final short DEFAULT_MAX_DISTANCE
Default distance

See Also:
Constant Field Values

maxDistance

public static short maxDistance
The distance of the iterations


DEFAULT_SEED

public static final int DEFAULT_SEED
Seed for the random number generator

See Also:
Constant Field Values

graph

public ImmutableGraph graph
The graph


numNodes

public int numNodes
The number of nodes.


keyNodesCount

public static int keyNodesCount

PARTIAL_SAVE_EVERY

public static final int PARTIAL_SAVE_EVERY
See Also:
Constant Field Values
Constructor Detail

RunTriangles

public RunTriangles()
Method Detail

main

public static void main(String[] arg)
                 throws IOException,
                        ClassNotFoundException,
                        IllegalAccessException,
                        NoSuchMethodException,
                        InvocationTargetException,
                        JSAPException
Throws:
IOException
ClassNotFoundException
IllegalAccessException
NoSuchMethodException
InvocationTargetException
JSAPException