de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training
Class HMMTrainingParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training.HMMTrainingParameterSet
- All Implemented Interfaces:
- GalaxyConvertible, Storable, Cloneable
- Direct Known Subclasses:
- MaxHMMTrainingParameterSet, SamplingHMMTrainingParameterSet
public abstract class HMMTrainingParameterSet
- extends ParameterSet
This class implements an abstract ParameterSet
that is used for the training of an AbstractHMM
.
- Author:
- Jens Keilwagen
Method Summary |
int |
getNumberOfStarts()
The method returns the number of different starts. |
Methods inherited from class de.jstacs.parameters.ParameterSet |
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML |
HMMTrainingParameterSet
protected HMMTrainingParameterSet()
- This is the empty constructor that can be used to fill the parameters after creation.
HMMTrainingParameterSet
protected HMMTrainingParameterSet(int starts)
throws SimpleParameter.IllegalValueException
- This constructor can be used to create an instance with a specified number of starts.
- Parameters:
starts
- the number of different starts
- Throws:
SimpleParameter.IllegalValueException
- if the parameter can not be set
HMMTrainingParameterSet
protected HMMTrainingParameterSet(StringBuffer xml)
throws NonParsableException
- The standard constructor for the interface
Storable
.
Constructs a HMMTrainingParameterSet
out of an XML representation.
- Parameters:
xml
- the XML representation as StringBuffer
- Throws:
NonParsableException
- if the HMMTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml
getNumberOfStarts
public int getNumberOfStarts()
- The method returns the number of different starts.
- Returns:
- the number of starts