core
Class DTNSim

java.lang.Object
  extended by core.DTNSim

public class DTNSim
extends java.lang.Object

Simulator's main class


Field Summary
static java.lang.String BATCH_MODE_FLAG
          If this option ("-b") is given to program, batch mode and Text UI are used
 
Constructor Summary
DTNSim()
           
 
Method Summary
static void main(java.lang.String[] args)
          Starts the user interface with given arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BATCH_MODE_FLAG

public static final java.lang.String BATCH_MODE_FLAG
If this option ("-b") is given to program, batch mode and Text UI are used

See Also:
Constant Field Values
Constructor Detail

DTNSim

public DTNSim()
Method Detail

main

public static void main(java.lang.String[] args)
Starts the user interface with given arguments. If first argument is BATCH_MODE_FLAG, the text UI is started. Next argument is the settings file for the simulation run (if any). For text UI, also number of runs can be given after the setting file name. Different settings from run arrays are used for different runs (see Settings.setRunIndex(int)). For GUI mode, the number after settings file (if given) is the run index to use for that run.

Parameters:
args - Command line arguments