Class StopId2RemainSeatedDataMapData


  • public class StopId2RemainSeatedDataMapData
    extends Object
    Collects occupancy at arrival and number of agents leaving the vehicle for on VehicleArrivesAtFacilityEvent
    Author:
    aneumann
    • Constructor Detail

      • StopId2RemainSeatedDataMapData

        public StopId2RemainSeatedDataMapData​(org.matsim.core.api.experimental.events.VehicleArrivesAtFacilityEvent event,
                                              int occupancyAtArrival)
    • Method Detail

      • getNumberOfAgentsRemainedSeated

        public int getNumberOfAgentsRemainedSeated()
        Returns:
        Returns number of agents which did not leave the vehicle at that stop
      • getFractionRemainedSeated

        public double getFractionRemainedSeated()
        Returns:
        Returns the fraction of agents which did not leave the vehicle at the stop based on the occupancy at arrival
      • getNumberOfAgentsEntering

        public int getNumberOfAgentsEntering()
        Returns:
        Returns number of agents which entered the vehicle at that stop
      • getNumberOfAgentsArriving

        public final int getNumberOfAgentsArriving()
        Returns:
        Returns number of agents which arrived in vehicle at that stop
      • getFractionEntering

        public double getFractionEntering()
        Returns:
        Returns the fraction of agents which entered the vehicle at the stop based on the occupancy at arrival
      • getNumberOfAgentsLeaving

        public int getNumberOfAgentsLeaving()
        Returns:
        Returns number of agents which left the vehicle at that stop
      • getFractionLeaving

        public double getFractionLeaving()
        Returns:
        Returns the fraction of agents which left the vehicle at the stop based on the occupancy at arrival
      • getVehicleArrivesAtFacilityEvent

        public org.matsim.core.api.experimental.events.VehicleArrivesAtFacilityEvent getVehicleArrivesAtFacilityEvent()
        Returns:
        Returns the VehicleArrivesAtFacilityEvent