17#include "../GeospatialOperations.hpp"
60 std::shared_ptr<AStarNode> pParentNode;
78 AStarNode(std::shared_ptr<AStarNode> pParentNode =
nullptr,
80 const double dKg = 0.0,
81 const double dKh = 0.0,
82 const double dKf = 0.0)
85 this->pParentNode = pParentNode;
86 this->stNodeLocation = stNodeLocation;
147 return this->stNodeLocation.dEasting == other.stNodeLocation.dEasting && this->stNodeLocation.dNorthing == other.stNodeLocation.dNorthing;
This namespace stores classes, functions, and structs that are used to implement different path plann...
Definition AStar.cpp:30
This struct stores/contains information about a UTM coordinate.
Definition GeospatialOperations.hpp:244
This node struct stores point data needed by the A* (ASTAR) algorithm to properly plan a path....
Definition Nodes.hpp:57
AStarNode(std::shared_ptr< AStarNode > pParentNode=nullptr, const geoops::UTMCoordinate stNodeLocation=geoops::UTMCoordinate(), const double dKg=0.0, const double dKh=0.0, const double dKf=0.0)
Construct a new AStarNode struct.
Definition Nodes.hpp:78
bool operator>(const AStarNode &other) const
Overloaded > comparison operator for AStarNode struct. Evaluates based on dKf value of nodes.
Definition Nodes.hpp:123
bool operator<(const AStarNode &other) const
Overloaded < comparison operator for AStarNode struct. Evaluates based on dKf value of nodes.
Definition Nodes.hpp:101
bool operator>=(const AStarNode &other) const
Overloaded >= comparison operator for AStarNode struct. Evaluates based on dKf value of nodes.
Definition Nodes.hpp:134
bool operator<=(const AStarNode &other) const
Overloaded <= comparison operator for AStarNode struct. Evaluates based on dKf value of nodes.
Definition Nodes.hpp:112
bool operator==(const AStarNode &other) const
Overloaded equality operator for AStarNode struct. This overload is used to see if two nodes have mat...
Definition Nodes.hpp:145