Fairness
Interface SimulationEvent
- All Known Implementing Classes:
- DemograntAdjustEvent, NodeTransferEvent, PublisherSendEvent, TreeReconstructionEvent
public interface SimulationEvent
SimulationEvent represents an executable event in the Simulation.
perform
void perform(Simulation sim,
double time)
- Performs the event that is occuring within a
Simulation. If an event wishes to
re-execute later, it may schedule itself again using the provided Simulation reference.
- Parameters:
sim - non-null Simulationtime - simulation time, exactly equal to the result of Simulation.getTime()