Function PrintCost(const std::vector<std::vector<int>>&, const std::vector<Node>&)

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 running
  • point_list: Vector of all points that have been considered. Nodes in vector contain cost.