![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.estimator.Constraint
imp.estimator.Model
public abstract class Model
Defines a local solver of a set of measures.
Nested Class Summary | |
---|---|
class |
Model.Estimate
Defines an estimate of the state of the model. |
static class |
Model.Samplings
Defines a set samplings of the state estimation. |
Constructor Summary | |
---|---|
Model(double step,
double[] d_x,
double[] d_m)
Constructs a vectorial model. |
Method Summary | |
---|---|
Model |
addMeasure(double[] m)
Adds a measure and return this. |
Model |
delMeasure(double[] m)
Removes a measure and return this. |
Model |
delMeasures()
Removes all measures and return this. |
double[][] |
F_m(double[] m,
double[] x)
Defines the gradients of the model F_m(m, x) = d f(m, x) / d m. |
double[][] |
F_x(double[] m,
double[] x)
Defines the gradients of the model F_x(m, x) = d f(m, x) / d x. |
abstract double[] |
f(double[] m,
double[] x)
Defines the model equations f(m, x) = 0. |
abstract int |
getMeasureNumber()
Returns the minimal number of generic measures required to estimate a state. |
double[][] |
getMeasures()
Gets the measures. |
Model |
getParent()
Gets the parent model if any, else return null. |
double[] |
getState(Model parent,
double[] parentState)
Returns the model initial state using the state of a parent model. |
Model |
setState(double[] x0)
Sets the model initial state and return this. |
Model |
setState(Model parent)
Sets the model initial state calling the parent model state estimation and return this. |
Methods inherited from class imp.estimator.Constraint |
---|
C, solve |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Model(double step, double[] d_x, double[] d_m)
step
- Minimal distance between two distinguishable points.d_x
- [optional, default is 1] Precision of the x[] vector. d_m
- [optional, default is 1] Precision of the m[] vector. Method Detail |
---|
public Model addMeasure(double[] m)
public Model delMeasure(double[] m)
public Model delMeasures()
public double[][] F_m(double[] m, double[] x)
public double[][] F_x(double[] m, double[] x)
public abstract double[] f(double[] m, double[] x)
public abstract int getMeasureNumber()
public double[][] getMeasures()
public Model getParent()
public double[] getState(Model parent, double[] parentState)
IllegalArgumentException
- If the initial state definition from the parent model is not defined.public Model setState(double[] x0)
public Model setState(Model parent)