|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.estimation.SimpleEstimationProblem
@Deprecated public class SimpleEstimationProblem
Simple implementation of the EstimationProblem
interface for boilerplate data handling.
This class only handles parameters and measurements
storage and unbound parameters filtering. It does not compute
anything by itself. It should either be used with measurements
implementation that are smart enough to know about the
various parameters in order to compute the partial derivatives
appropriately. Since the problem-specific logic is mainly related to
the various measurements models, the simplest way to use this class
is by extending it and using one internal class extending
WeightedMeasurement
for each measurement
type. The instances of the internal classes would have access to the
various parameters and their current estimate.
Constructor Summary | |
---|---|
SimpleEstimationProblem()
Deprecated. Build an empty instance without parameters nor measurements. |
Method Summary | |
---|---|
protected void |
addMeasurement(WeightedMeasurement m)
Deprecated. Add a new measurement to the set. |
protected void |
addParameter(EstimatedParameter p)
Deprecated. Add a parameter to the problem. |
EstimatedParameter[] |
getAllParameters()
Deprecated. Get all the parameters of the problem. |
WeightedMeasurement[] |
getMeasurements()
Deprecated. Get the measurements of an estimation problem. |
EstimatedParameter[] |
getUnboundParameters()
Deprecated. Get the unbound parameters of the problem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleEstimationProblem()
Method Detail |
---|
public EstimatedParameter[] getAllParameters()
getAllParameters
in interface EstimationProblem
public EstimatedParameter[] getUnboundParameters()
getUnboundParameters
in interface EstimationProblem
public WeightedMeasurement[] getMeasurements()
getMeasurements
in interface EstimationProblem
protected void addParameter(EstimatedParameter p)
p
- parameter to addprotected void addMeasurement(WeightedMeasurement m)
m
- measurement to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |