sugr
Interface RelationalProperty

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
BiRelationalProperty, TriRelationalProperty

public interface RelationalProperty
extends java.lang.Cloneable

This interface represents a relation between 1..n oberservations and a target entity. The target entity is not yet known, therefore only the type of that entity must be available. All relational properties should be cloneable.

Author:
Thomas Laebe, ipb

Method Summary
 void changeNullspace()
          Changes the nullspace for all entities
 java.lang.Object clone()
          Public clone function, because all relational properties should be cloneable.
 void ensureConstraints()
          Ensures, that all elements fulfill their constraints
 Matrix getCovarianceOfJacobianRow(int row)
          Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A
 Matrix getCovarianceOfObservations()
          The the covariance matrix of the observations of that relation.
 int getDof()
           Compute degrees of freedom of that Relation
 Matrix getJacobian()
           Return Jacobian Matrix A after the target type.
 Matrix getJacobianOfObservationConstraints()
          Get the Jacobian of the constraint of the observation
 Vector getObservations()
          Get observations of that relation as a stacked vector.
 Matrix getReducedCovarianceOfObservations()
          The "reduced" covariance matrix of the observations which takes care of the homogeneous constraint.
 java.lang.Class getTargetType()
          Get the type of the target entity.
 Vector getValueOfObservationConstraints()
          Get the value of the constraint of the observation
 void setObservations(Vector v)
          Set observations of that relation (as a stacked vector).
 

Method Detail

getObservations

public Vector getObservations()
Get observations of that relation as a stacked vector. Used for estimation.

Returns:
the observations for that relation

setObservations

public void setObservations(Vector v)
Set observations of that relation (as a stacked vector). Used for estimation.


getJacobianOfObservationConstraints

public Matrix getJacobianOfObservationConstraints()
Get the Jacobian of the constraint of the observation

Returns:
Matrix G

getValueOfObservationConstraints

public Vector getValueOfObservationConstraints()
Get the value of the constraint of the observation

Returns:
Matrix g0

ensureConstraints

public void ensureConstraints()
Ensures, that all elements fulfill their constraints


changeNullspace

public void changeNullspace()
Changes the nullspace for all entities


getCovarianceOfObservations

public Matrix getCovarianceOfObservations()
The the covariance matrix of the observations of that relation. This is the covariance of the vector given by getObservatios(). Used for estimation.

Returns:
the covariance of the observations.

getReducedCovarianceOfObservations

public Matrix getReducedCovarianceOfObservations()
The "reduced" covariance matrix of the observations which takes care of the homogeneous constraint. This is needed to obtain a coherent covariance of the corrected observation from the inner loop of the estimation, see note of WF from May 2005.

Returns:
the covariance of the observations.

getTargetType

public java.lang.Class getTargetType()
Get the type of the target entity. For estimation, this is the type to be estimated.

Returns:
the target type

getJacobian

public Matrix getJacobian()

Return Jacobian Matrix A after the target type.

Returns:
Jacobian Matrix A


getCovarianceOfJacobianRow

public Matrix getCovarianceOfJacobianRow(int row)
Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A

Parameters:
row - Row vector, for which the Covariance matrix is to be returned
Returns:
covariance of the row vector of the jacobian

getDof

public int getDof()

Compute degrees of freedom of that Relation

Returns:
degrees of freedom of that Relation

clone

public java.lang.Object clone()
Public clone function, because all relational properties should be cloneable.