|
MATSIM
|

Public Member Functions | |
| void | handleEvent (final VehicleArrivesAtFacilityEvent event) |
| void | handleEvent (final VehicleDepartsAtFacilityEvent event) |
| void | reset (final int iteration) |
| void | writeData () |
| void | createGraph (final String filename, final TransitRoute route) |
Private Attributes | |
| final Map< Id, List< Tuple< Id, Double > > > | positions = new HashMap<Id, List<Tuple<Id, Double>>>() |
Collects data to create Route-Time-Diagrams based on the actual simulation. A Route-Time-Diagram shows the position along one transit route of one or more vehicles over the lapse of time.
Definition at line 57 of file RouteTimeDiagram.java.
| void org.matsim.pt.analysis.RouteTimeDiagram.handleEvent | ( | final VehicleArrivesAtFacilityEvent | event | ) |
Implements org.matsim.core.api.experimental.events.handler.VehicleArrivesAtFacilityEventHandler.
Definition at line 64 of file RouteTimeDiagram.java.
References org.matsim.core.api.experimental.events.VehicleArrivesAtFacilityEvent.getFacilityId(), org.matsim.api.core.v01.events.Event.getTime(), and org.matsim.core.api.experimental.events.VehicleArrivesAtFacilityEvent.getVehicleId().

| void org.matsim.pt.analysis.RouteTimeDiagram.handleEvent | ( | final VehicleDepartsAtFacilityEvent | event | ) |
Implements org.matsim.core.api.experimental.events.handler.VehicleDepartsAtFacilityEventHandler.
Definition at line 73 of file RouteTimeDiagram.java.
References org.matsim.core.api.experimental.events.VehicleDepartsAtFacilityEvent.getFacilityId(), org.matsim.api.core.v01.events.Event.getTime(), and org.matsim.core.api.experimental.events.VehicleDepartsAtFacilityEvent.getVehicleId().

| void org.matsim.pt.analysis.RouteTimeDiagram.reset | ( | final 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.
| iteration | the up-coming iteration from which up-coming events will be from. |
Implements org.matsim.core.events.handler.EventHandler.
Definition at line 82 of file RouteTimeDiagram.java.
| void org.matsim.pt.analysis.RouteTimeDiagram.writeData | ( | ) |
Definition at line 86 of file RouteTimeDiagram.java.
| void org.matsim.pt.analysis.RouteTimeDiagram.createGraph | ( | final String | filename, |
| final TransitRoute | route | ||
| ) |
Definition at line 95 of file RouteTimeDiagram.java.
References org.matsim.pt.transitSchedule.api.TransitRoute.getDepartures(), org.matsim.api.core.v01.Identifiable< T >.getId(), and org.matsim.pt.transitSchedule.api.TransitRoute.getStops().

|
private |
Map containing for each vehicle a list of positions, stored as StopFacility Ids and the time.
Definition at line 62 of file RouteTimeDiagram.java.
1.8.13