private double calcMean(ArrayList<NetworkCell> cellList, TestingParameters params) 
	{
		double aff = 0.0;
		int nrAffs = 0;
		for (int i = 0; i < cellList.size(); i++)
		{
			NetworkCell cell1 = cellList.get(i);
			for (int j = 0; j < cellList.size(); j++)
			{
				if(j > i)
				{
					NetworkCell cell2 = cellList.get(j);
					aff += AffinityCalculator.calculateAffinity(cell1.getDimensions(), cell2.getDimensions(), params.affinityMeasure);
					nrAffs += 1;
				}
			}
		}

		return aff/nrAffs;
	}