sim.engine
Interface MakesSimState


public interface MakesSimState

An interface for classes capable of creating SimState subclasses. Typically you wouldn't use this interface; but rather it is used internaly in the SimState.doLoop methods.


Method Summary
 SimState newInstance(long seed, java.lang.String[] args)
          Creates a SimState subclass with the given random number seed and command-line arguments passed into main(...).
 java.lang.Class simulationClass()
          Returns the class of the SimState subclass that will be generated.
 

Method Detail

newInstance

SimState newInstance(long seed,
                     java.lang.String[] args)
Creates a SimState subclass with the given random number seed and command-line arguments passed into main(...).


simulationClass

java.lang.Class simulationClass()
Returns the class of the SimState subclass that will be generated.