DistanceFunction
is an option for functions such as Nearest that specifies the distance value to assume between any two specified points.
Examples
Basic Examples (2)
Find points closest to {5,5} using ChessboardDistance:
Find clusters in Boolean data using DiceDissimilarity:
Wolfram Research (2007), DistanceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DistanceFunction.html.
Text
Wolfram Research (2007), DistanceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DistanceFunction.html.
CMS
Wolfram Language. 2007. "DistanceFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DistanceFunction.html.
APA
Wolfram Language. (2007). DistanceFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DistanceFunction.html