fern.simulation.controller
Interface SimulationController

All Known Implementing Classes:
AmountAtMomentObserver, AmountLowerThanController, AndController, DefaultController, OrController

public interface SimulationController

Simulators are controlled by implementing classes. Each simulation step the goOn method is called to check whether to go on or not.

Author:
Florian Erhard

Method Summary
 boolean goOn(Simulator sim)
          Returns whether or not to go on with the given simulation
 

Method Detail

goOn

boolean goOn(Simulator sim)
Returns whether or not to go on with the given simulation

Parameters:
sim - simulation
Returns:
whether or not to go on