public class LSSurrogateParameters
extends java.lang.Object
LSExternalContext.enableSurrogateModeling()
Modifier and Type | Method and Description |
---|---|
LSEvaluationPoint |
createEvaluationPoint()
Creates an evaluation point for the external function.
|
boolean |
equals(java.lang.Object obj) |
int |
getEvaluationLimit()
Returns the maximum number of evaluations.
|
LSEvaluationPoint |
getEvaluationPoint(int pos)
Returns the evaluation point at the given position.
|
int |
getNbEvaluationPoints()
Returns the number of evaluation points.
|
int |
hashCode() |
void |
setEvaluationLimit(int evaluationLimit)
Sets the maximum number of evaluations.
|
public int getEvaluationLimit()
public void setEvaluationLimit(int evaluationLimit)
LSState.Modeling
or LSState.Stopped
.evaluationLimit
- The maximum number of calls to the external function.public LSEvaluationPoint createEvaluationPoint()
LSState.Modeling
or LSState.Stopped
.LSEvaluationPoint
public int getNbEvaluationPoints()
public LSEvaluationPoint getEvaluationPoint(int pos)
pos
- Position of the evaluation point.LSEvaluationPoint
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object