public void SetDistanceToManhattan() { DistanceFunc2 = ManhattanDistanceFunc2; /*DistanceFunc3 = ManhattanDistanceFunc3;*/ }
public void SetDistanceToChebyshev() { DistanceFunc2 = ChebyshevDistanceFunc2; /*DistanceFunc3 = ChebyshevDistanceFunc3;*/ }
//Set distance function public void SetDistanceToEuclidian() { DistanceFunc2 = EuclidianDistanceFunc2; /*DistanceFunc3 = EuclidianDistanceFunc3;*/ }
public static void SetDistanceToChebyshev() { DistanceFunc2 = ChebyshevDistanceFunc2; DistanceFunc3 = ChebyshevDistanceFunc3; }
public static void SetDistanceToManhattan() { DistanceFunc2 = ManhattanDistanceFunc2; DistanceFunc3 = ManhattanDistanceFunc3; }
//Set distance function public static void SetDistanceToEuclidian() { DistanceFunc2 = EuclidianDistanceFunc2; DistanceFunc3 = EuclidianDistanceFunc3; }