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