
org.opentripplanner.graph_builder.module.nearbystops.NearbyStopFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.graph_builder.module.nearbystops;
import java.util.Collection;
import org.opentripplanner.routing.api.request.RouteRequest;
import org.opentripplanner.routing.api.request.request.StreetRequest;
import org.opentripplanner.routing.graphfinder.NearbyStop;
import org.opentripplanner.street.model.vertex.Vertex;
/**
* Interface for finding nearby stops from a given vertex. It is used by access
* and egress searches, and in transfer generation.
*/
public interface NearbyStopFinder {
/**
* Return all stops within a certain distance from the given vertex.
*/
Collection findNearbyStops(
Vertex vertex,
RouteRequest routingRequest,
StreetRequest streetRequest,
boolean reverseDirection
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy