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