Example #1
0
 public Ant(Anthill hill, int antValueName)
 {
     _hill            = hill;
     _currentLocation = hill.CurrentLocation;
     _antValueName    = antValueName;
     _visited         = new ListOfEdges();
     _random          = new Random(_antValueName);
 }
Example #2
0
 public Anthill AnthillGenerate(int antCount)
 {
     //int anthillOnNode = rng.Next(1, graphSize);
     Anthill = new Anthill(antCount, _nodes.FindByValue(6));
     return(Anthill);
 }