|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.estimation.EstimatedParameter
@Deprecated public class EstimatedParameter
This class represents the estimated parameters of an estimation problem.
The parameters of an estimation problem have a name, a value and a bound flag. The value of bound parameters is considered trusted and the solvers should not adjust them. On the other hand, the solvers should adjust the value of unbounds parameters until they satisfy convergence criterions specific to each solver.
Field Summary | |
---|---|
protected double |
estimate
Deprecated. Current value of the parameter |
Constructor Summary | |
---|---|
EstimatedParameter(EstimatedParameter parameter)
Deprecated. Copy constructor. |
|
EstimatedParameter(java.lang.String name,
double firstEstimate)
Deprecated. Simple constructor. |
|
EstimatedParameter(java.lang.String name,
double firstEstimate,
boolean bound)
Deprecated. Simple constructor. |
Method Summary | |
---|---|
double |
getEstimate()
Deprecated. Get the current estimate of the parameter |
java.lang.String |
getName()
Deprecated. get the name of the parameter |
boolean |
isBound()
Deprecated. Check if the parameter is bound |
void |
setBound(boolean bound)
Deprecated. Set the bound flag of the parameter |
void |
setEstimate(double estimate)
Deprecated. Set a new estimated value for the parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double estimate
Constructor Detail |
---|
public EstimatedParameter(java.lang.String name, double firstEstimate)
name
- name of the parameterfirstEstimate
- first estimate of the parameterpublic EstimatedParameter(java.lang.String name, double firstEstimate, boolean bound)
name
- name of the parameterfirstEstimate
- first estimate of the parameterbound
- flag, should be true if the parameter is boundpublic EstimatedParameter(EstimatedParameter parameter)
parameter
- instance to copyMethod Detail |
---|
public void setEstimate(double estimate)
estimate
- new estimate for the parameterpublic double getEstimate()
public java.lang.String getName()
public void setBound(boolean bound)
bound
- this flag should be set to true if the parameter is
bound (i.e. if it should not be adjusted by the solver).public boolean isBound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |