public Ant(Anthill hill, int antValueName) { _hill = hill; _currentLocation = hill.CurrentLocation; _antValueName = antValueName; _visited = new ListOfEdges(); _random = new Random(_antValueName); }
public Graph(int size) { _nodes = new ListOfNodes(); _edges = new ListOfEdges(); _graphSize = size; GraphGenerate(); _nodes.FindByValue(30).Food = true; _nodes.FindByValue(36).Food = true; }
public GraphNode(int value) { Value = value; Neighbors = new ListOfEdges(); }