22 template<
typename TCoordinate>
28 template<
typename TCoordinate>
38template<
typename TCoordinate>
42 (
node.first - goal.first) * (
node.first - goal.first) +
43 (
node.second - goal.second) * (
node.second - goal.second));
48template<
typename TCoordinate>
51 return euclideanDistance < TCoordinate >;
Class extending the pair class from the standard library. Original reason is to allow printing of the...
Definition: pair.hpp:43
Definition: EuclideanDistance.hpp:18
static std::function< double(const ext::pair< TCoordinate, TCoordinate > &, const ext::pair< TCoordinate, TCoordinate > &)> euclideanDistanceFunction()
Definition: EuclideanDistance.hpp:50
static double euclideanDistance(const ext::pair< TCoordinate, TCoordinate > &goal, const ext::pair< TCoordinate, TCoordinate > &node)
Definition: EuclideanDistance.hpp:39
Definition: ReconstructPath.hpp:14