|
TreeTraversalDepthFirstTNode Method (BinaryTreeTNode)
|
Depth-first tree traversal method.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static IEnumerator<TNode> DepthFirst<TNode>(
BinaryTree<TNode> tree
)
where TNode : BinaryNode<TNode>
Public Shared Function DepthFirst(Of TNode As BinaryNode(Of TNode)) (
tree As BinaryTree(Of TNode)
) As IEnumerator(Of TNode)
Request Example
View SourceParameters
- tree
- Type: Accord.CollectionsBinaryTreeTNode
Type Parameters
- TNode
Return Value
Type:
IEnumeratorTNodeSee Also