avrora.actions
Class MultiSimulateAction
java.lang.Object
avrora.actions.Action
avrora.actions.SimAction
avrora.actions.MultiSimulateAction
- public class MultiSimulateAction
- extends SimAction
The MultiSimulateAction class represents an action available to the simulator where multiple
nodes are run in simulation.
| Fields inherited from class avrora.actions.SimAction |
CHIP, ICOUNT, monitorFactoryList, monitorListMap, monitorMap, MONITORS, PLATFORM, REPORT_SECONDS, SECONDS, SECONDS_PRECISION, TIMEOUT, VISUAL |
|
Method Summary |
void |
run(java.lang.String[] args)
The run() method starts the multiple node simulation. |
| Methods inherited from class avrora.actions.SimAction |
getLocationList, getMicrocontroller, getPlatform, hasMonitors, initializeSimulatorStatics, newSimulator, newSimulator, printSeparator, printSimHeader, processMonitorList, processTimeout, reportMonitors, reportQuantity, reportQuantity, reportQuantity |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HELP
public static final java.lang.String HELP
- See Also:
- Constant Field Values
NODECOUNT
public final Option.List NODECOUNT
RANDOMSEED
public final Option.Long RANDOMSEED
TOPOLOGY
public final Option.Str TOPOLOGY
RANDOM_START
public final Option.Interval RANDOM_START
STAGGER_START
public final Option.Long STAGGER_START
CHANNEL_UTIL
public final Option.Bool CHANNEL_UTIL
MultiSimulateAction
public MultiSimulateAction()
run
public void run(java.lang.String[] args)
throws java.lang.Exception
- The
run() method starts the multiple node simulation. It accepts command line
arguments that are a list of programs. The programs are instantiating on nodes according to
the -nodecount option, which specifies a list of the number of nodes to instantiate with
each program. Optionally, a topology file can be specified.
- Specified by:
run in class Action
- Parameters:
args - the arguments to the action, including a list of programs
- Throws:
java.lang.Exception