public static class ContinuousAlphabet.ContinuousAlphabetParameterSet extends Alphabet.AlphabetParameterSet
ParameterSet
of a
ContinuousAlphabet
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
ContinuousAlphabetParameterSet()
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet with empty
values. |
ContinuousAlphabetParameterSet(double min,
double max)
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from a minimum
and a maximum value. |
ContinuousAlphabetParameterSet(double min,
double max,
boolean allowNaN)
Creates a new
ContinuousAlphabet.ContinuousAlphabetParameterSet from a minimum
and a maximum value. |
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 ContinuousAlphabetParameterSet()
ContinuousAlphabet.ContinuousAlphabetParameterSet
with empty
values.public 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 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 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