public class MutableTrialPoint extends TrialPoint
_values
Constructor and Description |
---|
MutableTrialPoint()
Constructor
|
MutableTrialPoint(int size)
Constructor
|
MutableTrialPoint(java.util.Map<Variable,java.lang.Number> values)
Primary Constructor.
|
MutableTrialPoint(TrialPoint trialPoint)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
TrialPoint |
getTrialPoint()
Get an immutable copy of this trial point.
|
void |
setValue(Variable variable,
double value)
Set the value to associate with the variable.
|
getValue, getValueMap, toString
public MutableTrialPoint(java.util.Map<Variable,java.lang.Number> values)
values
- The new values used to map trial pointspublic MutableTrialPoint(TrialPoint trialPoint)
trialPoint
- the trial point to copypublic MutableTrialPoint(int size)
size
- intial size allocated to the trial point's map of valuespublic MutableTrialPoint()
public TrialPoint getTrialPoint()
public void setValue(Variable variable, double value)
variable
- The variable for which to associate the valuevalue
- The value of the specified variable