motris.model
Class GenericState

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.model.State
              extended bymotris.model.GenericState
All Implemented Interfaces:
ParameterizedObject

public class GenericState
extends State


Nested Class Summary
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
(package private)  DoubleMatrix aPrioriCovarianceBeforeProcessNoise
          this variable is to store the real a-priori-covariance, that is before adding artificial noise orthogonal to the car currently only pece2002
 java.util.Hashtable statesForTime
           
 
Fields inherited from class motris.model.State
firstVisibleTime, hidden, lastVisibleTime, parameters, referencePointInMiddle, stateChangeSemaphore, time
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
GenericState(ParameterSet _params, int orderofderivations)
           
 
Method Summary
 void advanceTimeStep(double deltaT)
           
 ParameterSet getParameters(boolean forSave)
           
 DoubleVector getPredictedStateVector(double deltaT)
           
 JSci.maths.DoubleSquareMatrix getStateDerivativeMatrix()
           
 DoubleVector getStateVector()
           
 DoubleVector getStateVector(int time)
           
private  DoubleVector getStateVector(ParameterSet params)
           
 int getStateVectorDimension()
           
 boolean initCovariances()
           
 boolean recallState(int _time)
           
 boolean setFromStateVector(DoubleVector v)
           
 void storeCurrentState(int _time)
           
 void storeState(ParameterSet params, int _time)
           
 
Methods inherited from class motris.model.State
addParameter, finishInitialisation, getAPrioriCovarianceBeforeProcessNoise, getCovariance, getNumParameter, getParameter, getParameters, getPosition, getStateVectorDot, getValue, isHidden, isVisibleDuringTime, setAngle, setCovariance, setHidden, setParameters, setPosition
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, removeParameterChangedListener
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statesForTime

public java.util.Hashtable statesForTime

aPrioriCovarianceBeforeProcessNoise

DoubleMatrix aPrioriCovarianceBeforeProcessNoise
this variable is to store the real a-priori-covariance, that is before adding artificial noise orthogonal to the car currently only pece2002

Constructor Detail

GenericState

public GenericState(ParameterSet _params,
                    int orderofderivations)
Method Detail

advanceTimeStep

public void advanceTimeStep(double deltaT)
Specified by:
advanceTimeStep in class State

getParameters

public ParameterSet getParameters(boolean forSave)
Overrides:
getParameters in class State

getStateVectorDimension

public int getStateVectorDimension()
Specified by:
getStateVectorDimension in class State

getPredictedStateVector

public DoubleVector getPredictedStateVector(double deltaT)
Specified by:
getPredictedStateVector in class State

getStateVector

public DoubleVector getStateVector()
Specified by:
getStateVector in class State

getStateVector

public DoubleVector getStateVector(int time)
Specified by:
getStateVector in class State

getStateVector

private DoubleVector getStateVector(ParameterSet params)

setFromStateVector

public boolean setFromStateVector(DoubleVector v)
Specified by:
setFromStateVector in class State

initCovariances

public boolean initCovariances()
Specified by:
initCovariances in class State

recallState

public boolean recallState(int _time)
Specified by:
recallState in class State

storeCurrentState

public void storeCurrentState(int _time)
Specified by:
storeCurrentState in class State

storeState

public void storeState(ParameterSet params,
                       int _time)
Specified by:
storeState in class State

getStateDerivativeMatrix

public JSci.maths.DoubleSquareMatrix getStateDerivativeMatrix()
Specified by:
getStateDerivativeMatrix in class State