示例#1
0
文件: Graph.cs 项目: irvin373/UMSS
 public Edge(Vertex source, Vertex destiny, int capacityCharge, int capacityPeople)
 {
     this.source = source;
     this.destiny = destiny;
     this.capacityCharge = capacityCharge;
     this.capacityPeople = capacityPeople;
 }
示例#2
0
文件: Graph.cs 项目: irvin373/UMSS
 public void inserteEdge(Vertex destiny, int capacityPeople,
     int capacityCharge)
 {
     edges.Add(new Edge(this, destiny, capacityCharge, capacityPeople));
 }