20 package org.matsim.core.mobsim.qsim.pt;
22 import java.util.List;
40 int cntEgress = leavingPassengers.size();
41 int cntAccess = enteringPassengers.size();
43 if ((cntAccess > 0) || (cntEgress > 0)) {
44 stopTime = cntAccess * 4 + cntEgress * 2;
45 if (this.lastHandledStop != stop) {
55 this.lastHandledStop = stop;
boolean handlePassengerLeaving(final PTPassengerAgent agent, MobsimVehicle vehicle, Id< Link > toLinkId, final double time)
TransitStopFacility lastHandledStop
boolean handlePassengerEntering(final PTPassengerAgent agent, MobsimVehicle vehicle, Id< TransitStopFacility > fromStopFacilityId, final double time)
double handleTransitStop(TransitStopFacility stop, double now, List< PTPassengerAgent > leavingPassengers, List< PTPassengerAgent > enteringPassengers, PassengerAccessEgress accessEgress, MobsimVehicle vehicle)
SimpleTransitStopHandler()