public int getLeastVisited()
	{
		int index = 0;
		int minVisits = Integer.MAX_VALUE;
		for (int i=0; i < actions.length; i++)
		{
			if (actions[i].getVisits() < minVisits)
			{
				minVisits = actions[i].getVisits();
				index = i;
			}
		}
		return index;
	}