Function PrintCost(const std::vector<std::vector<int>>&, const std::vector<Node>&)¶
- Defined in File utils.cpp
Function Documentation¶
-
void
PrintCost
(const std::vector<std::vector<int>> &grid, const std::vector<Node> &point_list)¶ Prints out the cost for reaching points on the grid in the grid shape.
- Return
- void
- Parameters
grid
: Grid on which algorithm is runningpoint_list
: Vector of all points that have been considered. Nodes in vector contain cost.