Click or drag to resize

ITreeTraversalService Interface

Service providing tree traversal algorithms for InternalElement Trees.

Namespace: Aml.Engine.Services.TreeTraversal
Assembly: Aml.Engine.Services.TreeTraversal (in Aml.Engine.Services.TreeTraversal.dll) Version: 2.0
Syntax
public interface ITreeTraversalService : IAMLService

The ITreeTraversalService type exposes the following members.

Methods
 NameDescription
Public methodBreathFirst(InstanceHierarchyType, PredicateInternalElementType) A BreathFirst Traversal algorithm, which can be used to traverse an InstanceHierarchy tree via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodBreathFirst(InternalElementType, PredicateInternalElementType) A BreathFirst Traversal algorithm, which can be used to traverse an InternalElement tree via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPostOrder(InstanceHierarchyType, PredicateInternalElementType) A DepthFirst (Post-Order) Traversal algorithm, which can be used to traverse an InstanceHierarchy tree in post order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPostOrder(InternalElementType, PredicateInternalElementType) A DepthFirst (Post-Order) Traversal algorithm, which can be used to traverse an InternalElement tree in post order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPreOrder(IInternalElementContainer, PredicateInternalElementType) A DepthFirst (Pre-Order) Traversal algorithm, which can be used to traverse an InstanceHierarchy tree in pre order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Public methodDepthFirstPreOrder(InternalElementType, PredicateInternalElementType) A DepthFirst (Pre-Order) Traversal algorithm, which can be used to traverse an InternalElement tree in pre order via foreach (var item in collection){ ... }. A predicate can be specified to restrict the element selection.
Top
See Also