public bool Equals(Edge other) { return(this.VerticeFrom == other.VerticeFrom && this.VerticeTo == other.VerticeTo); }
public Edge(Edge edge, Double weight) { this.VerticeFrom = edge.VerticeFrom; this.VerticeTo = edge.VerticeTo; this.Weight = weight; }