public Edge(Vertex source, Vertex destiny, int capacityCharge, int capacityPeople) { this.source = source; this.destiny = destiny; this.capacityCharge = capacityCharge; this.capacityPeople = capacityPeople; }
public void inserteEdge(Vertex destiny, int capacityPeople, int capacityCharge) { edges.Add(new Edge(this, destiny, capacityCharge, capacityPeople)); }