コード例 #1
0
 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);
 }
コード例 #2
0
 @Override
 public StageActivityTypes getStageActivityTypes() {
   return delegate.getStageActivityTypes();
 }
コード例 #3
0
 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);
 }