Click or drag to resize
Accord.NET (logo)

TreeTraversalPreOrderTNode Method

Pre-order tree traversal method.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.6.0
Syntax
public static IEnumerator<TNode> PreOrder<TNode>(
	BinaryTree<TNode> tree
)
where TNode : new(), BinaryNode<TNode>
Request Example View Source

Parameters

tree
Type: Accord.CollectionsBinaryTreeTNode

Type Parameters

TNode

Return Value

Type: IEnumeratorTNode
See Also