public abstract class MultiThreadedTrainingParameterSet extends MaxHMMTrainingParameterSet
MaxHMMTrainingParameterSet
that
is used for a multi-threaded maximizing training algorithm of a hidden Markov model.ParameterSet.ParameterList
errorMessage, parameters, parent
Modifier | Constructor and Description |
---|---|
protected |
MultiThreadedTrainingParameterSet()
This is the empty constructor that can be used to fill the parameters after creation.
|
protected |
MultiThreadedTrainingParameterSet(int starts,
AbstractTerminationCondition tc,
int threads)
This constructor can be used to create an instance with specified parameters.
|
protected |
MultiThreadedTrainingParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfThreads()
This method returns the number of threads that should be used during optimization.
|
getTerminationCondition
getNumberOfStarts
clone, fromGalaxy, fromXML, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy, toXML
protected MultiThreadedTrainingParameterSet()
protected MultiThreadedTrainingParameterSet(int starts, AbstractTerminationCondition tc, int threads) throws Exception
starts
- the number of different startstc
- the termination condition for stopping the algorithmthreads
- the number of threads that should be used during optimizationException
- if this MultiThreadedTrainingParameterSet
could not be createdprotected MultiThreadedTrainingParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs a MultiThreadedTrainingParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the MultiThreadedTrainingParameterSet
could not be reconstructed out of
the StringBuffer
xml