metric approach


distance d:X->[0,1] is distance measure if:


           d(x,y) = d(y,x)
  	 d(x,y) <= d(x,z) + d(z,y)
  	 d(x,x) = 0