Function PrintPathInOrder(const std::vector<Node>&, const Node&, const Node&, std::vector<std::vector<int>>&)¶
- Defined in File utils.hpp
Function Documentation¶
-
void
PrintPathInOrder
(const std::vector<Node> &path_vector, const Node &start, const Node &goal, std::vector<std::vector<int>> &grid) Prints the grid passed, highlighting the path taken, when the vector is the path taken in order.
- Return
- void
- Parameters
path_vector
: the path vectorstart
: start nodegoal
: goal nodegrid
: Modify this grid