de.jstacs.data.alphabets
Class ContinuousAlphabet.ContinuousAlphabetParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.data.Alphabet.AlphabetParameterSet
de.jstacs.data.alphabets.ContinuousAlphabet.ContinuousAlphabetParameterSet
- All Implemented Interfaces:
- RangeIterator, Storable, Cloneable
- Enclosing class:
- ContinuousAlphabet
public static class ContinuousAlphabet.ContinuousAlphabetParameterSet
- extends Alphabet.AlphabetParameterSet
Class for the ParameterSet of a
ContinuousAlphabet.
- Author:
- Jan Grau
| Methods inherited from class de.jstacs.parameters.ParameterSet |
getErrorMessage, getId, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, valuesToString |
ContinuousAlphabet.ContinuousAlphabetParameterSet
public ContinuousAlphabet.ContinuousAlphabetParameterSet()
- Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet with empty
values.
ContinuousAlphabet.ContinuousAlphabetParameterSet
public ContinuousAlphabet.ContinuousAlphabetParameterSet(double min,
double max)
throws Exception
- Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from a minimum
and a maximum value.
- Parameters:
min - the minimummax - the maximum
- Throws:
Exception - is thrown if minimum or maximum could not be set
ContinuousAlphabet.ContinuousAlphabetParameterSet
public ContinuousAlphabet.ContinuousAlphabetParameterSet(StringBuffer representation)
throws NonParsableException
- Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from its XML
representation.
- Parameters:
representation - the XML representation
- Throws:
NonParsableException - is thrown if representation could not be
parsed
loadParameters
protected void loadParameters()
throws Exception
- Description copied from class:
ParameterSet
- Loads the parameters for this
ParameterSet. This is in
most cases done by calling ParameterSet.initParameterList() or ParameterSet.initParameterList(int)
to initialize ParameterSet.parameters and afterwards filling ParameterSet.parameters with instances of subclasses of Parameter.
- Specified by:
loadParameters in class ParameterSet
- Throws:
Exception - an Exception is thrown if the parameters could not be loaded- See Also:
ParameterSet.parameters,
Parameter
getInstanceComment
public String getInstanceComment()
- Description copied from class:
InstanceParameterSet
- Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet.
- Specified by:
getInstanceComment in class InstanceParameterSet
- Returns:
- the comment