Exemplo n.º 1
0
 public void AddDistanceToEdges(RailwayNetwork railwayNetwork)
 {
     foreach (var edge in edges)
     {
         edge.Distance = railwayNetwork.GetDistance(edge.Start, edge.End);
     }
 }
Exemplo n.º 2
0
 public void AddDistanceToEdges(RailwayNetwork railwayNetwork)
 {
     foreach (var edge in edges)
     {
         edge.Distance = railwayNetwork.GetDistance(edge.Start, edge.End);
     }
 }