de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.parameters
Class MEManagerParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet<T>
de.jstacs.parameters.SequenceScoringParameterSet<T>
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.DGTrainSMParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.parameters.IDGTrainSMParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.parameters.MEManagerParameterSet
- All Implemented Interfaces:
- GalaxyConvertible, Storable, Cloneable
- Direct Known Subclasses:
- FSMEMParameterSet
public abstract class MEManagerParameterSet
- extends IDGTrainSMParameterSet
The ParameterSet for any MEManager.
- Author:
- Jens Keilwagen
Method Summary |
protected void |
addParameters()
Adds the parameter template in the constructor. |
Methods inherited from class de.jstacs.parameters.ParameterSet |
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getParameterForName, getParent, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, setParent, toGalaxy |
MEManagerParameterSet
public MEManagerParameterSet(StringBuffer s)
throws NonParsableException
- The constructor for the
Storable
interface.
- Parameters:
s
- the StringBuffer
- Throws:
NonParsableException
- if the StringBuffer is not parsable
MEManagerParameterSet
public MEManagerParameterSet(Class<? extends MEManager> instanceClass)
throws Exception
- The constructor an empty constructor of extended class.
- Parameters:
instanceClass
- the (sub-)class
- Throws:
Exception
- if some parameters template could not be created properly
MEManagerParameterSet
public MEManagerParameterSet(Class<? extends MEManager> instanceClass,
AlphabetContainer alphabet,
int length,
double ess,
String description,
ConstraintManager.Decomposition decomposition,
boolean reduce,
byte algorithm,
double epsilon)
throws Exception
- The fast constructor.
- Parameters:
instanceClass
- the (sub-)classalphabet
- the alphabetlength
- the length of the modeled sequencesess
- the essdescription
- the descriptiondecomposition
- the kind of decompositionreduce
- whether the constraints should be reducedalgorithm
- the choice of algorithmepsilon
- the threshold for stopping the numerical algorithms
- Throws:
Exception
- if something went wrong- See Also:
ConstraintManager.Decomposition.DECOMPOSE_NOTHING
,
ConstraintManager.Decomposition.DECOMPOSE_UNCONNECTED
,
ConstraintManager.Decomposition.DECOMPOSE_LESS_CONNECTED
addParameters
protected void addParameters()
throws Exception
- Adds the parameter template in the constructor.
- Throws:
Exception
- if some parameters could not be created properly