Package com.opttek.optquest
Class COptQuestKrigEvaluator
java.lang.Object
com.opttek.optquest.COptQuestKrigEvaluator
- All Implemented Interfaces:
com.opttek.optquest.IKrigEvaluator
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestKrigEvaluator(COptQuestKrigFactory krigFactory) COptQuestKrigEvaluator(COptQuestKrigFactory krigFactory, boolean enableAsync) -
Method Summary
Modifier and TypeMethodDescriptionadd(COptQuestKrigControlPoint controlPoint) addCo(COptQuestKrigControlPoint controlPoint, String id) addSp(COptQuestKrigControlPoint controlPoint, String id) addUnevaluated(COptQuestKrigControlPoint controlPoint) booleanevaluate(COptQuestKrigEvalPoint candidate) doubledoubledoubledoublegetProjection(int[] dims) doubleiterator()voidMakes the next evaluate() use every control point added so far, rather than the model that the async sampling loop uses, which lags by design.voidremove(COptQuestKrigControlPoint controlPoint) intsize()voidupdate()
-
Constructor Details
-
COptQuestKrigEvaluator
- Throws:
COptQuestException
-
COptQuestKrigEvaluator
public COptQuestKrigEvaluator(COptQuestKrigFactory krigFactory, boolean enableAsync) throws COptQuestException - Throws:
COptQuestException
-
-
Method Details
-
getProjection
- Throws:
COptQuestException
-
add
- Specified by:
addin interfacecom.opttek.optquest.IKrigEvaluator
-
addUnevaluated
- Specified by:
addUnevaluatedin interfacecom.opttek.optquest.IKrigEvaluator
-
addCo
-
addSp
-
remove
- Specified by:
removein interfacecom.opttek.optquest.IKrigEvaluator
-
iterator
- Specified by:
iteratorin interfacecom.opttek.optquest.IKrigEvaluator
-
unevaluatedIterator
- Specified by:
unevaluatedIteratorin interfacecom.opttek.optquest.IKrigEvaluator
-
size
public int size()- Specified by:
sizein interfacecom.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
- Specified by:
evaluatein interfacecom.opttek.optquest.IKrigEvaluator
-
getCrossValidation
public double getCrossValidation() -
getStandardError
public double getStandardError() -
getMaxStandardError
public double getMaxStandardError() -
getKrigStandardError
public double getKrigStandardError() -
getMaxKrigStandardError
public double getMaxKrigStandardError() -
getKrigFactory
- Specified by:
getKrigFactoryin interfacecom.opttek.optquest.IKrigEvaluator
-
update
public void update()- Specified by:
updatein interfacecom.opttek.optquest.IKrigEvaluator
-