public void printGeneration(OptAinet optAinet, int nrGeneration)
	{
		checkValidility(optAinet);
		int networkIndex = optAinet.getReference();

		if((rawGenerationData.get(networkIndex).isEmpty() || rawGenerationData.get(networkIndex).size() < nrGeneration) && !isSuppressErrors)
		{
			System.err.println("ERROR: Data Manager tries to print an non-existent generation.");
			System.exit(-1);
		}

		ArrayList<NetworkCell> cellList = rawGenerationData.get(networkIndex).get(nrGeneration);

		for (int i = 0; i < cellList.size(); i++)
		{
			for (int j = 0; j < optAinet.getNumDims(); j++)
			{
				System.out.print(cellList.get(i).getDimension(j) + " ");
			}
			System.out.println(cellList.get(i).getFitness());
		}
	}