Class COptQuestKrigEvaluator

java.lang.Object
com.opttek.optquest.COptQuestKrigEvaluator
All Implemented Interfaces:
com.opttek.optquest.IKrigEvaluator

public class COptQuestKrigEvaluator extends Object implements com.opttek.optquest.IKrigEvaluator
  • Constructor Details

  • Method Details

    • getProjection

      public COptQuestKrigEvaluator getProjection(int[] dims) throws COptQuestException
      Throws:
      COptQuestException
    • add

      Specified by:
      add in interface com.opttek.optquest.IKrigEvaluator
    • addUnevaluated

      public COptQuestKrigControlPoint addUnevaluated(COptQuestKrigControlPoint controlPoint)
      Specified by:
      addUnevaluated in interface com.opttek.optquest.IKrigEvaluator
    • addCo

    • addSp

    • remove

      public void remove(COptQuestKrigControlPoint controlPoint)
      Specified by:
      remove in interface com.opttek.optquest.IKrigEvaluator
    • iterator

      public Iterator<COptQuestKrigControlPoint> iterator()
      Specified by:
      iterator in interface com.opttek.optquest.IKrigEvaluator
    • unevaluatedIterator

      public Iterator<COptQuestKrigControlPoint> unevaluatedIterator()
      Specified by:
      unevaluatedIterator in interface com.opttek.optquest.IKrigEvaluator
    • size

      public int size()
      Specified by:
      size in interface com.opttek.optquest.IKrigEvaluator
    • refreshNow

      public void refreshNow()
      Makes the next evaluate() use every control point added so far, rather than the model that the async sampling loop uses, which lags by design. Does no work when nothing has been added since the last build. The similar-problem evaluators are never async (see the constructor call below), so they already rebuild themselves inside evaluate(); only the main evaluator can be behind. The aggregate this class caches on top is covered by isAggDirty, which the add/remove methods set in async mode too.
    • evaluate

      public boolean evaluate(COptQuestKrigEvalPoint candidate)
      Specified by:
      evaluate in interface com.opttek.optquest.IKrigEvaluator
    • getCrossValidation

      public double getCrossValidation()
    • getStandardError

      public double getStandardError()
    • getMaxStandardError

      public double getMaxStandardError()
    • getKrigStandardError

      public double getKrigStandardError()
    • getMaxKrigStandardError

      public double getMaxKrigStandardError()
    • getKrigFactory

      public COptQuestKrigFactory getKrigFactory()
      Specified by:
      getKrigFactory in interface com.opttek.optquest.IKrigEvaluator
    • update

      public void update()
      Specified by:
      update in interface com.opttek.optquest.IKrigEvaluator