Package com.graphhopper.routing
Class RoundTripRouting
java.lang.Object
com.graphhopper.routing.RoundTripRouting
Implementation of calculating a route with one or more round trip (route with identical start and
end).
- Author:
- Peter Karich
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoundTripRouting.Result
calcPaths
(List<Snap> snaps, FlexiblePathCalculator pathCalculator) lookup
(List<GHPoint> points, EdgeFilter edgeFilter, LocationIndex locationIndex, RoundTripRouting.Params params)
-
Constructor Details
-
RoundTripRouting
public RoundTripRouting()
-
-
Method Details
-
lookup
public static List<Snap> lookup(List<GHPoint> points, EdgeFilter edgeFilter, LocationIndex locationIndex, RoundTripRouting.Params params) -
calcPaths
public static RoundTripRouting.Result calcPaths(List<Snap> snaps, FlexiblePathCalculator pathCalculator)
-