コード例 #1
0
 public bool Equals(Edge other)
 {
     return(this.VerticeFrom == other.VerticeFrom && this.VerticeTo == other.VerticeTo);
 }
コード例 #2
0
 public Edge(Edge edge, Double weight)
 {
     this.VerticeFrom = edge.VerticeFrom;
     this.VerticeTo   = edge.VerticeTo;
     this.Weight      = weight;
 }