Interface VariationData
-
- All Known Implementing Classes:
VariationDataImpl
public interface VariationDatathis interface provides the data, which represents the input parameters / results of an aloha-fit. (fitting kick-response, dispersion or both)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(VariationDataListener listener)voidaddVariationParameter(VariationParameter parameter)voidfixVariationParameter(java.lang.String key)add the variation parameter of the given key to the fixed variation parameters and removes them from the varied ones.java.util.List<VariationParameter>getFixedVariationParameters()VariationParametergetVariationParameter(java.lang.String key)java.util.List<java.lang.Double>getVariationParameterChanges()java.util.List<java.lang.Double>getVariationParameterInitialValues()java.util.List<java.lang.String>getVariationParameterNames()java.util.List<java.lang.Double>getVariationParameterRelativeChanges()java.util.List<java.lang.Double>getVariationParameterRelativeErrors()java.util.List<VariationParameter>getVariationParameters()intgetVariationParametersCount()java.util.List<java.lang.Double>getVariationParameterValueErrors()java.util.List<java.lang.Double>getVariationParameterValues()voidremoveListener(VariationDataListener listener)voidremoveVariationParameter(java.lang.String key)voidreset()voidunfixVariationParameter(java.lang.String key)add the variation parameter of the given key to the varied variation parameters and removes them from the fixed ones ones.
-
-
-
Method Detail
-
reset
void reset()
-
getVariationParametersCount
int getVariationParametersCount()
-
addVariationParameter
void addVariationParameter(VariationParameter parameter)
-
removeVariationParameter
void removeVariationParameter(java.lang.String key)
-
getVariationParameter
VariationParameter getVariationParameter(java.lang.String key)
-
getVariationParameters
java.util.List<VariationParameter> getVariationParameters()
-
getVariationParameterValues
java.util.List<java.lang.Double> getVariationParameterValues()
- Returns:
- the actual values of the variation parameters
-
getVariationParameterChanges
java.util.List<java.lang.Double> getVariationParameterChanges()
- Returns:
- the changes for each parameter
-
getVariationParameterRelativeChanges
java.util.List<java.lang.Double> getVariationParameterRelativeChanges()
- Returns:
- the changes of each parameter wrt the initial value
-
getVariationParameterRelativeErrors
java.util.List<java.lang.Double> getVariationParameterRelativeErrors()
- Returns:
- the errors for each parameter wrt the initial values
-
getVariationParameterValueErrors
java.util.List<java.lang.Double> getVariationParameterValueErrors()
- Returns:
- the errors on the variation parameters
-
getVariationParameterInitialValues
java.util.List<java.lang.Double> getVariationParameterInitialValues()
- Returns:
- the initial values of the variation parameters
-
getVariationParameterNames
java.util.List<java.lang.String> getVariationParameterNames()
- Returns:
- the names of the variation paramters
-
getFixedVariationParameters
java.util.List<VariationParameter> getFixedVariationParameters()
- Returns:
- all the variation parameters which are 'fixed' (i.e. not used for fitting at the moment)
-
fixVariationParameter
void fixVariationParameter(java.lang.String key)
add the variation parameter of the given key to the fixed variation parameters and removes them from the varied ones.- Parameters:
key- the key of the variation parameter
-
unfixVariationParameter
void unfixVariationParameter(java.lang.String key)
add the variation parameter of the given key to the varied variation parameters and removes them from the fixed ones ones.- Parameters:
key- the key of the variation parameter
-
addListener
void addListener(VariationDataListener listener)
- Parameters:
listener- the listener to add
-
removeListener
void removeListener(VariationDataListener listener)
- Parameters:
listener- the listener to remove
-
-