Declaration
public Dictionary<TCell, CellWithDistance<TCell>> FindPaths(
TCell origin
)
Summary
Finds the shortest path from the specified
origin cell to every other cell in the
structure.
Parameters
TCell | origin |
The start cell at which all paths begin. |
Returns
A dictionary mapping from each cell to a structure revealing the distance from
origin as
well as the previous cell on the path.