
org.opentripplanner.raptor.spi.RaptorPathConstrainedTransferSearch 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.raptor.spi;
import javax.annotation.Nullable;
import org.opentripplanner.raptor.api.model.RaptorConstrainedTransfer;
import org.opentripplanner.raptor.api.model.RaptorTripSchedule;
/**
* This interface is used by Raptor to create a path from the Raptor state. We do not keep
* constraints during the search, so we need to look it up when building the path.
*
* @param The TripSchedule type defined by the user of the raptor API.
*/
public interface RaptorPathConstrainedTransferSearch {
@Nullable
RaptorConstrainedTransfer findConstrainedTransfer(
T fromTrip,
int fromStopPosition,
T toTrip,
int toStopPosition
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy