public class StateEstimator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
StateEstimator.EstimateConsumer
Iterate through the measurement order, providing measured and estimated values
|
Constructor and Description |
---|
StateEstimator(PAModel m) |
Modifier and Type | Method and Description |
---|---|
float[] |
calculateEstimates()
provide estimated measurements after SE convergence
|
float |
getConvergenceTolerance()
Get convergence tolerance
|
int |
getMaxIterations()
Get the maximum number of iterations
|
void |
iterateEstimate(StateEstimator.EstimateConsumer ec)
Iterate through each measurement and perform the given function
|
static void |
main(java.lang.String... args)
Test routine and command-line access
|
boolean |
runSE()
Run state estimation on the configured model
|
void |
setConvergenceTolerance(float tol)
Set convergence tolerance
|
void |
setMaxIterations(int maxiter)
Set the maximum number of iterations
|
public StateEstimator(PAModel m) throws PAModelException
PAModelException
public void setConvergenceTolerance(float tol)
tol
- Desired tolerancepublic float getConvergenceTolerance()
public void setMaxIterations(int maxiter)
maxiter
- Maximum number of iterationspublic int getMaxIterations()
public boolean runSE() throws PAModelException
PAModelException
public float[] calculateEstimates() throws PAModelException
PAModelException
public void iterateEstimate(StateEstimator.EstimateConsumer ec) throws PAModelException
ec
- PAModelException
public static void main(java.lang.String... args) throws java.lang.Exception
args
-
--uri | Uniform Resource Identifier used to build model |
--outdir | Output directory for CSV files. This directory is created if it does not already exist, and defaults to the current working directory |
java.lang.Exception