de.jstacs.sequenceScores.statisticalModels.trainable.hmm.training
Class HMMTrainingParameterSet

java.lang.Object
  extended by de.jstacs.parameters.ParameterSet
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet
ParameterSet.ParameterList
 
Field Summary
 
Fields inherited from class de.jstacs.parameters.ParameterSet
errorMessage, parameters, parent
 
Constructor Summary
protected HMMTrainingParameterSet()
          This is the empty constructor that can be used to fill the parameters after creation.
protected HMMTrainingParameterSet(int starts)
          This constructor can be used to create an instance with a specified number of starts.
protected HMMTrainingParameterSet(StringBuffer xml)
          The standard constructor for the interface Storable.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getNumberOfStarts

public int getNumberOfStarts()
The method returns the number of different starts.

Returns:
the number of starts