public static class ContinuousAlphabet.ContinuousAlphabetParameterSet extends Alphabet.AlphabetParameterSet
ParameterSet
of a
ContinuousAlphabet
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
ContinuousAlphabet.ContinuousAlphabetParameterSet()
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet with empty
values. |
ContinuousAlphabet.ContinuousAlphabetParameterSet(double min,
double max)
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from a minimum
and a maximum value. |
ContinuousAlphabet.ContinuousAlphabetParameterSet(double min,
double max,
boolean allowNaN)
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from a minimum
and a maximum value. |
ContinuousAlphabet.ContinuousAlphabetParameterSet(StringBuffer representation)
The standard constructor for the interface
Storable
. |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet . |
clone, getInstanceName
fromXML, getInstance, getInstanceClass, toXML
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
public ContinuousAlphabet.ContinuousAlphabetParameterSet()
ContinuousAlphabet.ContinuousAlphabetParameterSet
with empty
values.public ContinuousAlphabet.ContinuousAlphabetParameterSet(double min, double max) throws Exception
ContinuousAlphabet.ContinuousAlphabetParameterSet
from a minimum
and a maximum value. NaN values are not allowed.min
- the minimummax
- the maximumException
- if minimum or maximum could not be setContinuousAlphabet.ContinuousAlphabetParameterSet#ContinuousAlphabetParameterSet()
public ContinuousAlphabet.ContinuousAlphabetParameterSet(double min, double max, boolean allowNaN) throws Exception
ContinuousAlphabet.ContinuousAlphabetParameterSet
from a minimum
and a maximum value.min
- the minimummax
- the maximumallowNaN
- true if NaN values are allowedException
- if minimum or maximum could not be setContinuousAlphabet.ContinuousAlphabetParameterSet#ContinuousAlphabetParameterSet()
public ContinuousAlphabet.ContinuousAlphabetParameterSet(StringBuffer representation) throws NonParsableException
Storable
. Creates a new ContinuousAlphabet.ContinuousAlphabetParameterSet
out of its XML
representation.representation
- the XML representation as StringBuffer
NonParsableException
- if the ContinuousAlphabet.ContinuousAlphabetParameterSet
could not
be reconstructed out of the XML representation (the
StringBuffer
representation
could
not be parsed)Alphabet.AlphabetParameterSet#AlphabetParameterSet(StringBuffer)
,
Storable
public String getInstanceComment()
InstanceParameterSet
ParameterSet
.getInstanceComment
in class InstanceParameterSet