Exemple #1
0
 public Edge(Vertex vertFrom, Vertex vertTo)
 {
     this.VerticeFrom = vertFrom;
     this.VerticeTo   = vertTo;
     this.Weight      = 0.0;
 }
Exemple #2
0
 public Edge(Vertex vertFrom, Vertex vertTo, Double weight)
 {
     this.VerticeFrom = vertFrom;
     this.VerticeTo   = vertTo;
     this.Weight      = weight;
 }