Let \(X\) be a set. A metric \(d\) on \(X\) may be defined by \(d(x,x)=0\) and \(d(x,y)=1\) if \(x\neq y\). This metric is called discrete metric.
Let \(X\) be a set. A metric \(d\) on \(X\) may be defined by \(d(x,x)=0\) and \(d(x,y)=1\) if \(x\neq y\). This metric is called discrete metric.