org.dbe.eve.simulator
Class EVESimulation

java.lang.Object
  extended by org.dbe.eve.simulator.EVESimulation

public class EVESimulation
extends java.lang.Object

Starts the simulation


Field Summary
static int currentRun
           
private static EVESimulation instance
           
(package private) static org.apache.log4j.Logger logger
           
private static EvEModel model
           
static int runs
           
 
Constructor Summary
EVESimulation()
           
 
Method Summary
 int getCurrentRuns()
          return the number of runs to the simulations end
static EVESimulation getInstance()
          retrun the instance of this object
 int getRuns()
          return the number of runs
static void main(java.lang.String[] args)
          The main method starts repast and loads the model
 void setRuns(int val)
          set the number of simulation runs
 void startNextRun()
          is called befor each run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

runs

public static int runs

currentRun

public static int currentRun

instance

private static EVESimulation instance

model

private static EvEModel model
Constructor Detail

EVESimulation

public EVESimulation()
Method Detail

getInstance

public static EVESimulation getInstance()
retrun the instance of this object


setRuns

public void setRuns(int val)
set the number of simulation runs

Parameters:
val -

getRuns

public int getRuns()
return the number of runs

Returns:

getCurrentRuns

public int getCurrentRuns()
return the number of runs to the simulations end

Returns:

startNextRun

public void startNextRun()
is called befor each run


main

public static void main(java.lang.String[] args)
The main method starts repast and loads the model

Parameters:
args - Nothing required