private List<? extends PlanElement> calcBinnedRoute( final Facility fromFacility, final Facility toFacility, final double departureTime) { return delegate.calcRoute( cache.binFacility(fromFacility), cache.binFacility(toFacility), // start at the end of the time bin Math.ceil((departureTime / timeBinDuration_s)) * timeBinDuration_s, null); }
@Override public StageActivityTypes getStageActivityTypes() { return delegate.getStageActivityTypes(); }
private List<? extends PlanElement> calcWalkTrip( final Facility fromFacility, final Facility toFacility) { // deliberately pass null as a person, as we do not want a router that takes // the person into account anyway... return walkRouter.calcRoute(fromFacility, toFacility, 12 * 3600d, null); }