Class Node¶
- Defined in File utils.hpp
Class Documentation¶
-
class
Node
¶ Node class.
- Parameters
Public Functions
-
Node
(const int x = 0, const int y = 0, const double cost = 0, const double h_cost = 0, const int id = 0, const int pid = 0)¶ Constructor for Node class.
-
void
PrintStatus
() const¶ Prints the values of the variables in the node.
- Return
- void
-
Node
operator+
(const Node &p) const¶ Overloading operator + for Node class.
- Return
- Node with current node’s and input node p’s values added
- Parameters
p
: node