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