diff --git a/src/main/java/beam/analysis/plots/RideHailWaitingAnalysis.java b/src/main/java/beam/analysis/plots/RideHailWaitingAnalysis.java index 500d2a42cf0..3b50cc17ffb 100644 --- a/src/main/java/beam/analysis/plots/RideHailWaitingAnalysis.java +++ b/src/main/java/beam/analysis/plots/RideHailWaitingAnalysis.java @@ -31,6 +31,7 @@ public class RideHailWaitingAnalysis implements GraphAnalysis, IterationSummaryAnalysis { public static final String RIDE_HAIL = "ride_hail"; + public static final String RIDE_HAIL_POOLED = "ride_hail_pooled"; public static final String WALK_TRANSIT = "walk_transit"; public RideHailWaitingAnalysis(StatsComputation, Map>>, Tuple>, double[][]>> statComputation) { @@ -174,7 +175,7 @@ public void processStats(Event event) { if (event instanceof ModeChoiceEvent) { ModeChoiceEvent modeChoiceEvent = (ModeChoiceEvent) event; String mode = modeChoiceEvent.mode; - if (mode.equalsIgnoreCase(RIDE_HAIL)) { + if (mode.equalsIgnoreCase(RIDE_HAIL) || mode.equalsIgnoreCase(RIDE_HAIL_POOLED)) { Id personId = modeChoiceEvent.getPersonId(); rideHailWaiting.put(personId.toString(), event);