OPC Studio User's Guide and Reference
TreeTraversalType Enumeration



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Graphs Namespace : TreeTraversalType Enumeration
Type of algorithm used to traverse nodes of a tree.
Syntax
'Declaration
 
<ComVisibleAttribute(False)>
Public Enum TreeTraversalType 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As TreeTraversalType
[ComVisible(false)]
public enum class TreeTraversalType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
BreadthFirst2Breadth-first traversal (BFT).

Remarks:

When used for search purposes, can also be referred to as breadth-first search (BFS).

DepthFirst1Depth-first traversal (DFT).

Remarks:

When used for search purposes, can also be referred to as depth-first search (DFS).

None0No traversal type.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.BaseLib.Graphs.TreeTraversalType

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also