Package com.graphhopper.routing.util
Class DefaultSnapFilter
java.lang.Object
com.graphhopper.routing.util.DefaultSnapFilter
- All Implemented Interfaces:
EdgeFilter
This EdgeFilter combines the weighting result and the 'subnetwork' EncodedValue to consider the subnetwork removal
in LocationIndex lookup. In future the 'subnetwork' EncodedValue could be moved into the Weighting.
-
Field Summary
Fields inherited from interface com.graphhopper.routing.util.EdgeFilter
ALL_EDGES
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSnapFilter
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceEdgeFilter
- Returns:
- true if the current edge should be processed and false otherwise.
-