DistanceStructure
This interface abstracts the computation of the distance for spatial algorithms.
Parameters
<E>
Type of edge labels of the spatial model.
<M>
Type of the distance metric
Inheritors
Functions
Link copied to clipboard
Helper method, might be preferable to the combination of
isWithinBounds(getDistance(from, to)), if it makes sense for the current distance structure.Link copied to clipboard
Link copied to clipboard
Method to retrieve the distance between the two locations.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to assess whether one location is within the bounds of the spatial structure