Click or drag to resize
Accord.NET (logo)

TreeTraversalDepthFirstTNode Method

Depth-first tree traversal method.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.7.0
Syntax
public static IEnumerator<TNode> DepthFirst<TNode>(
	Tree<TNode> tree
)
where TNode : TreeNode<TNode>
Request Example View Source

Parameters

tree
Type: Accord.CollectionsTreeTNode

Type Parameters

TNode

Return Value

Type: IEnumeratorTNode
See Also