DepthFirstPostOrderTraversal<TNode> Class ​
Definition ​
Strategy for traversing nodes in a tree depth first, post-order, that is, depth first with parent nodes being enumerated after their children.
c#
public sealed class DepthFirstPostOrderTraversal<TNode> : ITraversal<TNode>
where TNode : Node<TNode>Type Parameters ​
| Name | Description |
|---|---|
TNode | The type of nodes in the tree. |
Fields ​
| Name | Description |
|---|---|
Instance | The singleton DepthFirstPostOrderTraversal<TNode> instance. |
Methods ​
| Name | Description |
|---|---|
Enumerate(TNode, Boolean, Func<TNode, Boolean>) | Enumerates over a node and its descendants. |