Package org.matsim.core.mobsim.framework.listeners
The "Simulation Listeners/Events" are in addition to "matsim events". "matsim events" concern traffic-related events,
"simulation events" concern events related to simulation structure (such as "initialization is finished").
There is some debate if these things are so easy to separate; for example "time step finished" (Simulation Event) is the same as
"clock advances by one second" (event related to the traffic world). Nevertheless, there are strong opinions to leave these things
separate, and so they are separate.
For an example of how to have them in the same channel, see the dissertation of Christian Gloor.
-
Interface Summary Interface Description MobsimAfterSimStepListener This interface can be implemented when a notification is needed after the QueueSimulation has performed a simulation step.MobsimBeforeCleanupListener This interface can be implemented when a notification is needed before the QueueSimulation instance starts it's shutdown process.MobsimBeforeSimStepListener Listeners of QueueSimulation should implement this if they want to be notified after QueueSimulation.beforeSimStep() was invoked.MobsimInitializedListener Implement this listener interface if you want to be notified when the QueueSimulation's setup process is completed.MobsimListener A marker interface that all QueueSimulationListeners must extend. -
Class Summary Class Description FixedOrderSimulationListener To avoid problems with the order of some SimulationListeners, this class can be used execute them in a fixed order.