class documentation
class DistanceMetric(enum.Enum): (source)
An enum for selecting distance metrics for grids.
Grid distance metrics are:
- Chebyshev (CHEBYSHEV) which is the larger of the number of x or y moves
- in the grid.
- Manhattan (MANHATTAN) which is the number of moves between the two points
- following the grid. Or
- Euclidean (EUCLIDEAN) which is the length of the direct route.