All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.routing.algorithm.raptoradapter.transit.request.TransitDataProviderFilter Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package org.opentripplanner.routing.algorithm.raptoradapter.transit.request;

import org.opentripplanner.routing.algorithm.raptoradapter.transit.TripPatternForDate;
import org.opentripplanner.routing.trippattern.TripTimes;

/**
 * Used to filter the elements in a {@link org.opentripplanner.routing.algorithm.raptoradapter.transit.TransitLayer}
 * when constructing a {@link RaptorRoutingRequestTransitData} for a request.
 * 

* {@link TripPatternForDate} and {@link TripTimes} are filtered based on the request parameters to * only included components which are allowed by the request. Such filters may included bike or * wheelchair accessibility, banned routes and transit modes. * * @see RoutingRequestTransitDataProviderFilter */ public interface TransitDataProviderFilter { boolean tripPatternPredicate(TripPatternForDate tripPatternForDate); boolean tripTimesPredicate(TripTimes tripTimes); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy