DistanceFunction is an option for functions such as Nearest that specifies the distance value to assume between any two specified points.
Find points closest to using ChessboardDistance:
Use the default distance:
Find clusters in Boolean data using DiceDissimilarity:
Clusters obtained with the default distance function:
Norm NormFunction EuclideanDistance EditDistance JaccardDissimilarity SimilarityRules