|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcore.DTNSim
public class DTNSim
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 |
---|
public static final java.lang.String BATCH_MODE_FLAG
Constructor Detail |
---|
public DTNSim()
Method Detail |
---|
public static void main(java.lang.String[] args)
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.
args
- Command line arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |