Beispiel #1
0
 private int Comparer(EdgeWeigth edge1, EdgeWeigth edge2)
 {
     return(edge1.Weight.CompareTo(edge2.Weight));
 }
Beispiel #2
0
 public void AddEdge(EdgeWeigth edge)
 {
     Edges.Add(edge);
     E++;
 }