Method FindPathAndLeaves
FindPathAndLeaves(T, out HashSet<T>, out HashSet<T>)
Finds nodes along paths from the starting node and the leaf nodes reached.
Declaration
public void FindPathAndLeaves(T node, out HashSet<T> path, out HashSet<T> leaves)
Parameters
| Type | Name | Description |
|---|---|---|
| T | node | The node to start from. |
| HashSet<T> | path | Outputs the nodes along the traversed paths. |
| HashSet<T> | leaves | Outputs the leaf nodes that were reached. |