public class SimulatorShell
extends java.lang.Object
The SimulatorShell may construct more than one simulator instance
if required, based on the provided simulation file.
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(java.lang.Iterable<Simulator> simulators,
net.sourceforge.cilib.simulator.ProgressText listener)
Run and execute the simulations, reporting progress.
|
static java.util.List<Simulator> |
prepare(java.io.File specification)
Prepare a list of
Simulator instances for execution. |
public static java.util.List<Simulator> prepare(java.io.File specification)
Simulator instances for execution.specification - to be read defining the simulations.public static void execute(java.lang.Iterable<Simulator> simulators, net.sourceforge.cilib.simulator.ProgressText listener)
simulators - iterable list to execute.listener - responsible to monitor progress.
TODO: This listener idea is not fresh - one listener per simulation should be the case.