Beispiel #1
0
 public void RemoveAt(int position)
 {
     RouteList.RemoveAt(position);
     ServiceBeginingTimes.RemoveAt(position);
     for (int i = position; i < RouteList.Count; ++i)
     {
         double newTime = NextServiceBeginTime(RouteList[i], RouteList[i - 1], ServiceBeginingTimes[i - 1]);
         ServiceBeginingTimes[i] = newTime;
     }
     UpdateId();
 }