The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_sdlbase
Class: none
Declaration: TDistMode = (dmJaccard, dmManhattan, dmEuclid, dmEuclidSqr, dmDice, dmUserDef);

The type declaration TDistMode defines the possible operating modes of the methods CalcDistMat and DistanceOfObjects. Currently the following distances can be calculated:

dmJaccard similarity measure first defined by P. Jaccard (sometimes also referred to as Tanimoto coefficient)
dmManhattan Manhattan or city block distance
dmEuclid Euclidean distance
dmEuclidSqr squared Euclidean distance
dmDice the Dice coefficient
dmUserDef any user defined distance

Last Update: 2023-Feb-06