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