|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsugr.BiRelationalProperty
class representing a relational property which is a non concrete relation between an existing entity and a second entity wich does NOT exist yet. (a "target" entity). Possible relations are represented in derived classes (Equal, Incident, Orthogonal, Parallel)
Field Summary | |
protected Entity |
first
Represents the first entity of the binary relation |
protected java.lang.Class |
secondEntityType
Represents the type of the second entity. |
Constructor Summary | |
BiRelationalProperty(Entity _first,
java.lang.Class _secondEntityType)
Create a new relational Property. |
Method Summary | |
void |
changeNullspace()
Changes the nullspace for all entities |
java.lang.Object |
clone()
Clone a relational property. |
static double[] |
doCondition(RelationalProperty[] rprops)
Do conditioning of the observations. |
static void |
doCondition(RelationalProperty[] rprops,
double[] f)
Do conditioning of the observations. |
void |
ensureConstraints()
Ensures, that all elements fulfill their constraints |
abstract Matrix |
getCovarianceOfJacobianRow(int row)
Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type. |
Matrix |
getCovarianceOfObservations()
The the covariance matrix of the observation of that relation. |
abstract int |
getDof()
Compute degrees of freedom of that Relation |
Entity |
getFirstEntity()
Get the first part of the relation. |
abstract Matrix |
getJacobian()
Return Jacobian Matrix A of the first Entity and the relation type. |
Matrix |
getJacobianOfObservationConstraints()
Get the Jacobian of the constraint of the observation |
Vector |
getObservations()
Get observation of that relation. |
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 second 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). |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Entity first
Represents the first entity of the binary relation
protected java.lang.Class secondEntityType
Constructor Detail |
public BiRelationalProperty(Entity _first, java.lang.Class _secondEntityType)
_first
- first Entity_secondEntityType
- type of second EntityMethod Detail |
public abstract Matrix getJacobian()
Return Jacobian Matrix A of the first Entity and the relation type.
getJacobian
in interface RelationalProperty
public abstract int getDof()
Compute degrees of freedom of that Relation
getDof
in interface RelationalProperty
public abstract Matrix getCovarianceOfJacobianRow(int row)
Returns the Covariance Matrix of the row-vector of the Jacobian Matrix A of the first Entity and the relation type.
getCovarianceOfJacobianRow
in interface RelationalProperty
row
- Row vector, for which the Covariance matrix is to be returned
public Entity getFirstEntity()
public java.lang.Class getTargetType()
getTargetType
in interface RelationalProperty
public java.lang.Object clone()
clone
in interface RelationalProperty
public Vector getObservations()
getObservations
in interface RelationalProperty
public void setObservations(Vector v)
setObservations
in interface RelationalProperty
public Matrix getJacobianOfObservationConstraints()
RelationalProperty
getJacobianOfObservationConstraints
in interface RelationalProperty
public Vector getValueOfObservationConstraints()
RelationalProperty
getValueOfObservationConstraints
in interface RelationalProperty
public static double[] doCondition(RelationalProperty[] rprops)
rprops
- a set of Bi(!)RelationalProperties. RelationalProperty is used
for compatibility reasons.
public static void doCondition(RelationalProperty[] rprops, double[] f)
f
- the conditioning factor (as one element array, for compatibility reasons)rprops
- a set of Bi(!)RelationalProperties. RelationalProperty is used
for compatibility reasons.public Matrix getCovarianceOfObservations()
getCovarianceOfObservations
in interface RelationalProperty
public Matrix getReducedCovarianceOfObservations()
getReducedCovarianceOfObservations
in interface RelationalProperty
public void ensureConstraints()
RelationalProperty
ensureConstraints
in interface RelationalProperty
public void changeNullspace()
RelationalProperty
changeNullspace
in interface RelationalProperty
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |