Class DefaultSnapFilter

java.lang.Object
com.graphhopper.routing.util.DefaultSnapFilter
All Implemented Interfaces:
EdgeFilter

public class DefaultSnapFilter extends Object implements 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.
  • Constructor Details

  • Method Details

    • accept

      public boolean accept(EdgeIteratorState edgeState)
      Specified by:
      accept in interface EdgeFilter
      Returns:
      true if the current edge should be processed and false otherwise.