(dist(D,E)={(\[LeftBracketingBar]D-E\[RightBracketingBar]if   \[LeftBracketingBar]D-E\[RightBracketingBar]>tolerance0otherwise)(2))