Exemple #1
0
 public void SetDistanceToManhattan()
 {
     DistanceFunc2 = ManhattanDistanceFunc2;                                    /*DistanceFunc3 = ManhattanDistanceFunc3;*/
 }
Exemple #2
0
 public void SetDistanceToChebyshev()
 {
     DistanceFunc2 = ChebyshevDistanceFunc2;                                    /*DistanceFunc3 = ChebyshevDistanceFunc3;*/
 }
 //Set distance function
 public void SetDistanceToEuclidian()
 {
     DistanceFunc2 = EuclidianDistanceFunc2; /*DistanceFunc3 = EuclidianDistanceFunc3;*/
 }
Exemple #4
0
 //Set distance function
 public void SetDistanceToEuclidian()
 {
     DistanceFunc2 = EuclidianDistanceFunc2;                                    /*DistanceFunc3 = EuclidianDistanceFunc3;*/
 }
 public void SetDistanceToChebyshev()
 {
     DistanceFunc2 = ChebyshevDistanceFunc2; /*DistanceFunc3 = ChebyshevDistanceFunc3;*/
 }
 public void SetDistanceToManhattan()
 {
     DistanceFunc2 = ManhattanDistanceFunc2; /*DistanceFunc3 = ManhattanDistanceFunc3;*/
 }
 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;
 }