Class COptQuestKrigEuclideanDistance

java.lang.Object
com.opttek.optquest.COptQuestKrigEuclideanDistance
All Implemented Interfaces:
IKrigDistance

public class COptQuestKrigEuclideanDistance extends Object implements IKrigDistance
An implementation of KrigDistance that simply returns the Euclidean distance between two vectors
  • Constructor Details

    • COptQuestKrigEuclideanDistance

      public COptQuestKrigEuclideanDistance()
  • Method Details

    • getDistance

      public double getDistance(double[] v1, double[] v2)
      return the distance between two multidimensional vectors in any arbitrary space.
      Specified by:
      getDistance in interface IKrigDistance
      Parameters:
      v1 - - the one of the two vectors we're computing the distance between
      v2 - - the other of the two vectors we're computing the distance between
    • getWeights

      public double[] getWeights()
      Specified by:
      getWeights in interface IKrigDistance