motris.model
Class FreeParameter

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.Parameter
          extended bymotris.model.FreeParameter

public class FreeParameter
extends Parameter

Same as a double-values Paramters but with a different TYPE property to mark it as an estimatable degree of freedom

Author:
preuter

Field Summary
private  int indexInStateVector
           
 
Fields inherited from class parameter.Parameter
BOOLEAN, COLOR, DIRSELECTION, DOUBLE, DOUBLEMATRIX, FILESELECTION, FREEPARAMETER, INTEGER, SELECTION, STRING
 
Fields inherited from class motris.data.Description
 
Constructor Summary
FreeParameter(java.lang.String _ident, java.lang.String _name, java.lang.String _unit, double _d)
           
FreeParameter(java.lang.String _ident, java.lang.String _name, java.lang.String _unit, double _d, int index)
           
 
Method Summary
static int forWhichDerivation(java.lang.String ident)
          Computes the derivative a parameter applies to.
 int getIndexInStateVector()
           
 boolean isFreeParameterType()
           
 void setIndexInStateVector(int i)
           
 
Methods inherited from class parameter.Parameter
copy, copyValueFrom, equals, getBooleanValue, getColorValue, getDoubleMatrixValue, getDoubleValue, getIntValue, getStringValue, getType, getUnit, getValueString, isBooleanType, isColorType, isCompatibleWith, isDirSelectionType, isDoubleMatrixType, isDoubleType, isFileSelectionType, isIntType, isRadianAngleUnit, isSelectionType, isStringType, setBooleanValue, setBooleanValue, setColorValue, setColorValue, setDoubleMatrixValue, setDoubleMatrixValue, setDoubleValue, setIntValue, setStringValue, setType, setUnit, setValue, toString, toXML
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

indexInStateVector

private int indexInStateVector
Constructor Detail

FreeParameter

public FreeParameter(java.lang.String _ident,
                     java.lang.String _name,
                     java.lang.String _unit,
                     double _d,
                     int index)

FreeParameter

public FreeParameter(java.lang.String _ident,
                     java.lang.String _name,
                     java.lang.String _unit,
                     double _d)
Method Detail

isFreeParameterType

public boolean isFreeParameterType()
Overrides:
isFreeParameterType in class Parameter

forWhichDerivation

public static int forWhichDerivation(java.lang.String ident)
Computes the derivative a parameter applies to.

Parameters:
ident - Identification of parameters
Returns:
its derivative number (0,1,2)

getIndexInStateVector

public int getIndexInStateVector()

setIndexInStateVector

public void setIndexInStateVector(int i)