 | ITreeTraversalService Interface |
Service providing tree traversal algorithms for InternalElement Trees.
Namespace: Aml.Engine.Services.TreeTraversalAssembly: Aml.Engine.Services.TreeTraversal (in Aml.Engine.Services.TreeTraversal.dll) Version: 2.0
Syntaxpublic interface ITreeTraversalService : IAMLService
Public Interface ITreeTraversalService
Inherits IAMLService
public interface class ITreeTraversalService : IAMLService
The ITreeTraversalService type exposes the following members.
Methods | Name | Description |
---|
 | BreathFirst(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.
|
 | BreathFirst(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.
|
 | DepthFirstPostOrder(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.
|
 | DepthFirstPostOrder(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.
|
 | DepthFirstPreOrder(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.
|
 | DepthFirstPreOrder(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