예제 #1
0
 public bool Release(Ant ant, List <ACOCity> tabuList)
 {
     tabuList.Add(this);
     return(antsIn.Remove(ant));
 }
예제 #2
0
 public void Receive(Ant ant, List <ACOCity> citiesToVisit)
 {
     citiesToVisit.Remove(this);
     antsIn.Add(ant);
 }