Package org.matsim.core.events.handler
Interface EventHandler
-
- All Superinterfaces:
MatsimExtensionPoint
- All Known Subinterfaces:
ActivityEndEventHandler
,ActivityStartEventHandler
,AgentWaitingForPtEventHandler
,BasicEventHandler
,BoardingDeniedEventHandler
,EventWriter
,GenericEventHandler
,LaneEnterEventHandler
,LaneLeaveEventHandler
,LinkEnterEventHandler
,LinkLeaveEventHandler
,PersonArrivalEventHandler
,PersonDepartureEventHandler
,PersonEntersVehicleEventHandler
,PersonLeavesVehicleEventHandler
,PersonMoneyEventHandler
,PersonStuckEventHandler
,ReplanningEventHandler
,TeleportationArrivalEventHandler
,TransitDriverStartsEventHandler
,TransitScheduleChangedEventHandler
,VehicleAbortsEventHandler
,VehicleArrivesAtFacilityEventHandler
,VehicleDepartsAtFacilityEventHandler
,VehicleEntersTrafficEventHandler
,VehicleLeavesTrafficEventHandler
- All Known Implementing Classes:
ActivityReplanningMap
,CalcLegTimes
,EarliestLinkExitTimeProvider
,EventsToActivities
,EventsToLegs
,EventsToLegsAndActivities
,EventWriterJson
,EventWriterTXT
,EventWriterXML
,LegHistogram
,LinkEnteredProvider
,LinkReplanningMap
,OccupancyAnalyzer
,RouteOccupancy
,RouteTimeDiagram
,SnapshotGenerator
,TransitLoad
,TransitRouteAccessEgressAnalysis
,TransportModeProvider
,TravelTimeCalculator
,Vehicle2DriverEventHandler
,VehicleTracker
,VolumesAnalyzer
,WithinDayTravelTime
public interface EventHandler extends MatsimExtensionPoint
Examples:tutorial.programming.example06EventsHandling.RunEventsHandlingExample
tutorial.programming.example06EventsHandling.RunEventsHandlingWithControlerExample
tutorial.programming.example21tutorialTUBclass.events.RunEventsHandlingExample
Design thoughts:- This is deliberately without a handleEvent( Event ev ) so that derived interfaces and ultimately classes are not forced to implement a handler that deals with all events. kai, with input from dominik, nov'11
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
reset(int iteration)
Gives the event handler the possibility to clean up its internal state.
-
-
-
Method Detail
-
reset
default void reset(int iteration)
Gives the event handler the possibility to clean up its internal state. Within a Controler-Simulation, this is called before the mobsim starts.- Parameters:
iteration
- the up-coming iteration from which up-coming events will be from.
-
-