public double getAffinity(NetworkCell cell)
	{
		double affinity = 0;

		// Calculate the Euclidean distance beween the network cells

		for (int i = 0; i < dims.length; i++)
			affinity = affinity + Math.pow((dims[i] - cell.getDimension(i)), 2);

		return Math.sqrt(affinity);
	}