Class SimpleEstimationProblem
- java.lang.Object
-
- org.apache.commons.math.estimation.SimpleEstimationProblem
-
- All Implemented Interfaces:
EstimationProblem
@Deprecated public class SimpleEstimationProblem extends java.lang.Object implements EstimationProblem
Deprecated.as of 2.0, everything in package org.apache.commons.math.estimation has been deprecated and replaced by package org.apache.commons.math.optimization.generalSimple implementation of theEstimationProblem
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.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description SimpleEstimationProblem()
Deprecated.Build an empty instance without parameters nor measurements.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getAllParameters
public EstimatedParameter[] getAllParameters()
Deprecated.Get all the parameters of the problem.- Specified by:
getAllParameters
in interfaceEstimationProblem
- Returns:
- parameters
-
getUnboundParameters
public EstimatedParameter[] getUnboundParameters()
Deprecated.Get the unbound parameters of the problem.- Specified by:
getUnboundParameters
in interfaceEstimationProblem
- Returns:
- unbound parameters
-
getMeasurements
public WeightedMeasurement[] getMeasurements()
Deprecated.Get the measurements of an estimation problem.- Specified by:
getMeasurements
in interfaceEstimationProblem
- Returns:
- measurements
-
-