Exemple #1
0
 /// <summary>
 /// Removes the edge from->unknown and replaces it with the edge from->to->unknown.
 /// 0->1:InsertAfter(0, 2):0->2-1
 /// </summary>
 /// <param name="from"></param>
 /// <param name="to"></param>
 public void InsertAfter(int from, int to)
 {
     if (from == 0)
     {
         _route.InsertFirst(to);
     }
     else
     {
         _route.InsertAfter(from, to);
     }
 }