Package com.graphhopper.routing.util
Class SnapPreventionEdgeFilter
java.lang.Object
com.graphhopper.routing.util.SnapPreventionEdgeFilter
- All Implemented Interfaces:
EdgeFilter
-
Field Summary
Fields inherited from interface com.graphhopper.routing.util.EdgeFilter
ALL_EDGES
-
Constructor Summary
ConstructorsConstructorDescriptionSnapPreventionEdgeFilter
(EdgeFilter filter, EnumEncodedValue<RoadClass> rcEnc, EnumEncodedValue<RoadEnvironment> reEnc, List<String> snapPreventions) -
Method Summary
-
Constructor Details
-
SnapPreventionEdgeFilter
public SnapPreventionEdgeFilter(EdgeFilter filter, EnumEncodedValue<RoadClass> rcEnc, EnumEncodedValue<RoadEnvironment> reEnc, List<String> snapPreventions)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceEdgeFilter
- Returns:
- true if the current edge should be processed and false otherwise.
-