Method FindAllPathsToLeafNodes
FindAllPathsToLeafNodes(T)
Finds all paths from the start node to any leaf node.
Declaration
public List<List<T>> FindAllPathsToLeafNodes(T startNode)
Parameters
| Type | Name | Description |
|---|---|---|
| T | startNode | The node to start from. |
Returns
| Type | Description |
|---|---|
| List<List<T>> | A list of paths, where each path is a list of nodes. |