For two nonempty subsets A , B ⊆ M {\displaystyle {}A,B\subseteq M} in a metric space M {\displaystyle {}M} ,
is called the distance of the subsets A {\displaystyle {}A} and B {\displaystyle {}B} .