Class ConstConfig

java.lang.Object
  extended by ConstConfig

public class ConstConfig
extends java.lang.Object

Symbolic constants that control what the built code does (in the flavor of C's #ifdef, more or less).


Field Summary
static boolean DEBUG
          If set to true, 'helpful' trace information about nodes going down and recovering is printed.
static long MYRANDOM_SEED
          Seed used if REPEATABLE_RUN is set to true.
static boolean REPEATABLE_RUN
          It's often handy to be able to re-run a trial, for debugging purposes.
static boolean WRITE_REACHABILITY_GRAPH
          If you want to produce a time series graph of the average fraction of actually reachable pairs reachable by the routing tables: set this variable to true run the simulation run the 'createGraph.pl' script (e.g., '$ ./createGraph.pl').
 
Constructor Summary
ConstConfig()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPEATABLE_RUN

public static final boolean REPEATABLE_RUN
It's often handy to be able to re-run a trial, for debugging purposes. It's also handy to be able to get different, random trials each run. This variable determines which you will get when you run (repeatably random or unrepeatably random).

See Also:
Constant Field Values

MYRANDOM_SEED

public static final long MYRANDOM_SEED
Seed used if REPEATABLE_RUN is set to true.

See Also:
Constant Field Values

WRITE_REACHABILITY_GRAPH

public static final boolean WRITE_REACHABILITY_GRAPH
If you want to produce a time series graph of the average fraction of actually reachable pairs reachable by the routing tables: For this to work, the system you're on must have installed: and they must be on your $PATH.

On attu I've put a copy in /cse/courses/cse461/07au/.

See Also:
Constant Field Values

DEBUG

public static boolean DEBUG
If set to true, 'helpful' trace information about nodes going down and recovering is printed.

Constructor Detail

ConstConfig

public ConstConfig()