
org.opentripplanner.ext.ridehailing.RideHailingService 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.ext.ridehailing;
import java.util.List;
import java.util.concurrent.ExecutionException;
import org.opentripplanner.ext.ridehailing.model.ArrivalTime;
import org.opentripplanner.ext.ridehailing.model.RideEstimate;
import org.opentripplanner.ext.ridehailing.model.RideHailingProvider;
import org.opentripplanner.framework.geometry.WgsCoordinate;
/**
* A service for querying ride hailing information to be used during routing.
*/
public interface RideHailingService {
/**
* The provider of the service.
*/
RideHailingProvider provider();
/**
* Get the next arrivals for a specific location.
*/
List arrivalTimes(WgsCoordinate coordinate, boolean wheelchairAccessible)
throws ExecutionException;
List rideEstimates(
WgsCoordinate start,
WgsCoordinate end,
boolean wheelchairAccessible
) throws ExecutionException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy