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