Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: Dictionary<TCell, CellWithDistance<TCell>> FindPaths(TCell)

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

TCellorigin 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.