Search Results for

    Show / Hide Table of Contents

    Class TreeTraversalVisit<TEdge, TNode>

    The emitted information of a root-to-leaf traversal of a tree composed of nodes and edges.

    Inheritance
    System.Object
    TreeTraversalVisit<TEdge, TNode>
    Implements
    System.IEquatable<TreeTraversalVisit<TEdge, TNode>>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: MoreStructures.RecImmTrees.Visitor
    Assembly: MoreStructures.dll
    Syntax
    public class TreeTraversalVisit<TEdge, TNode> : IEquatable<TreeTraversalVisit<TEdge, TNode>> where TEdge : IRecImmDictIndexedTreeEdge<TEdge, TNode> where TNode : IRecImmDictIndexedTreeNode<TEdge, TNode>
    Type Parameters
    Name Description
    TEdge

    The type of edges of the specific structure.

    TNode

    The type of nodes of the specific structure.

    Constructors

    | Improve this Doc View Source

    TreeTraversalVisit(TNode, TNode, TEdge, Int32)

    The emitted information of a root-to-leaf traversal of a tree composed of nodes and edges.

    Declaration
    public TreeTraversalVisit(TNode Node, TNode ParentNode, TEdge IncomingEdge, int Level)
    Parameters
    Type Name Description
    TNode Node

    The visited node.

    TNode ParentNode

    The parent of the node being visited. Null when visiting the root node.

    TEdge IncomingEdge

    The edge outgoing from the parent, traversed to reach this node. Null when visiting the root node.

    System.Int32 Level

    The level of visit: 0 is assigned to the top-level node, 1 to its children, 2 to its grandchildren, etc.

    Properties

    | Improve this Doc View Source

    IncomingEdge

    Declaration
    public TEdge IncomingEdge { get; set; }
    Property Value
    Type Description
    TEdge
    | Improve this Doc View Source

    Level

    Declaration
    public int Level { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Node

    Declaration
    public TNode Node { get; set; }
    Property Value
    Type Description
    TNode
    | Improve this Doc View Source

    ParentNode

    Declaration
    public TNode ParentNode { get; set; }
    Property Value
    Type Description
    TNode

    Implements

    System.IEquatable<T>

    Extension Methods

    SuffixStructureNodeExtensions.GetAllSuffixesFor<TEdge, TNode>(TNode, TextWithTerminator)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX