org.opentripplanner.ext.flex.flexpathcalculator.FlexPathCalculator 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
package org.opentripplanner.ext.flex.flexpathcalculator;
import org.opentripplanner.routing.graph.Vertex;
import javax.annotation.Nullable;
/**
* FlexPathCalculator is used to calculate the driving times and distances during flex routing
*/
public interface FlexPathCalculator {
@Nullable
FlexPath calculateFlexPath(Vertex fromv, Vertex tov, int fromStopIndex, int toStopIndex);
}