for (int i = 0; i < count; i++) sum += Math.sqrt(getQuery().getMembership(i).minus(getTarget().getMembership(i)).abs()); return 1 - (sum / count);
for (int i = 0; i < count; i++) { double v = getQuery().getMembership(i).minus(getTarget().getMembership(i)).abs(); sum += v*v; } return 1 - Math.sqrt(sum / count);
	public double getSimilarity() {		int count = getQuery().getElementsCount();		double sum = 0.0;		for (int i = 0; i < count; i++)			sum += Math.sqrt(getQuery().getMembership(i).minus(getTarget().getMembership(i)).abs());		return 1 - (sum / count);	}