• Docs
  • Learn
  • Community
    Search Results for

      Show / Hide Table of Contents

      Class Node<TNodeValue, TEdgeLabel>

      Represents a labeled node in a directed graph.

      Inheritance
      Object
      Node<TNodeValue, TEdgeLabel>
      Inherited Members
      Object.Equals(Object)
      Object.Equals(Object, Object)
      Object.ReferenceEquals(Object, Object)
      Object.GetHashCode()
      Object.GetType()
      Object.MemberwiseClone()
      Namespace: Bonsai.Dag
      Assembly: Bonsai.Core.dll
      Syntax
      public class Node<TNodeValue, TEdgeLabel>
      Type Parameters
      Name Description
      TNodeValue

      The type of the labels associated with graph nodes.

      TEdgeLabel

      The type of the labels associated with graph edges.

      Constructors

      | Improve this Doc View Source

      Node(TNodeValue)

      Initializes a new instance of the Node<TNodeValue, TEdgeLabel> class with the specified value.

      Declaration
      public Node(TNodeValue value)
      Parameters
      Type Name Description
      TNodeValue value

      The value of the node label.

      Properties

      | Improve this Doc View Source

      Successors

      Gets the collection of successor edges leaving this node.

      Declaration
      public EdgeCollection<TNodeValue, TEdgeLabel> Successors { get; }
      Property Value
      Type Description
      EdgeCollection<TNodeValue, TEdgeLabel>
      | Improve this Doc View Source

      Value

      Gets the value of the node label.

      Declaration
      public TNodeValue Value { get; }
      Property Value
      Type Description
      TNodeValue

      Methods

      | Improve this Doc View Source

      ToString()

      Declaration
      public override string ToString()
      Returns
      Type Description
      String
      Overrides
      Object.ToString()

      Extension Methods

      DirectedGraphExtensions.DepthFirstSearch<TNodeValue, TEdgeLabel>(Node<TNodeValue, TEdgeLabel>)
      • Improve this Doc
      • View Source
      In This Article
      Back to top Generated by DocFX