Class GraphEdge<TValue>
Inheritance
System.Object
    GraphEdge<TValue>
  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: AlgorithmsAndDataStructures.Algorithms.GraphTraversal
Assembly: AlgorithmsAndDataStructures.dll
Syntax
public class GraphEdge<TValue>
  Type Parameters
| Name | Description | 
|---|---|
| TValue | 
Constructors
| Improve this Doc View SourceGraphEdge(GraphNode<TValue>, Int32)
Constructor
Declaration
public GraphEdge(GraphNode<TValue> node, int weight)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphNode<TValue> | node | The node at the end of this edge.  | 
      
| System.Int32 | weight | Weight of this edge.  | 
      
Properties
| Improve this Doc View SourceNode
Declaration
public GraphNode<TValue> Node { get; set; }
  Property Value
| Type | Description | 
|---|---|
| GraphNode<TValue> | GraphNode at the other end of this edge.  | 
      
Weight
Declaration
public int Weight { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | Weight of this edge. Used in Dijkstra.  |