Class Edge<TNodeValue, TEdgeLabel>
Represents an outgoing labeled edge in a directed graph.
public class Edge<TNodeValue, TEdgeLabel>
Type Parameters
TNodeValue
The type of the labels associated with graph nodes.
TEdgeLabel
The type of the labels associated with graph edges.
- Inheritance
-
Edge<TNodeValue, TEdgeLabel>
- Inherited Members
Constructors
- Edge(Node<TNodeValue, TEdgeLabel>, TEdgeLabel)
Initializes a new instance of the Edge<TNodeValue, TEdgeLabel> class with the specified target node and label.
Properties
- Label
Gets the value of the edge label.
- Target
Gets the node that is the target of the edge.
Methods
- Equals(object)
Returns a value indicating whether this instance is equal to a specified object.
- GetHashCode()
Returns the hash code for this instance.
- ToString()
Returns a string that represents the current object.