de.jstacs.models.discrete.inhomogeneous.parameters
Class IDGMParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.models.discrete.DGMParameterSet
de.jstacs.models.discrete.inhomogeneous.parameters.IDGMParameterSet
- All Implemented Interfaces:
- RangeIterator, Storable, Cloneable
- Direct Known Subclasses:
- BayesianNetworkModelParameterSet, FSDAGMParameterSet
public abstract class IDGMParameterSet
- extends DGMParameterSet
This is the abstract container of parameters that is root container for all inhomogeneous discrete graphical model
parameter containers.
- Author:
- Jens Keilwagen
Methods inherited from class de.jstacs.parameters.ParameterSet |
getErrorMessage, getId, getInstance, getInstanceClass, getInstanceComment, getNumberOfValues, getParent, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, resetToFirst, setAlternativeInstanceClass, setParent, simplify, valuesToString |
IDGMParameterSet
protected IDGMParameterSet(StringBuffer s)
throws NonParsableException
- The constructor for the
Storable
interface.
- Parameters:
s
- the StringBuffer
- Throws:
NonParsableException
- if the StringBuffer is not parsable
IDGMParameterSet
protected IDGMParameterSet(Class<? extends InhomogeneousDGM> instanceClass)
- This constructor creates an empty parameter set instance for the specified class.
- Parameters:
instanceClass
- the instance class
IDGMParameterSet
protected IDGMParameterSet(Class<? extends InhomogeneousDGM> instanceClass,
AlphabetContainer alphabet,
int length,
double ess,
String description)
throws Exception
- This constructor creates a parameter set instance for the specified class.
It sets the AlphabetContainer, the length, the ess and the model description.
- Parameters:
instanceClass
- the instance classalphabet
- the AlphabetContainer for the modellength
- the length of the modeless
- the ess of the modeldescription
- the model description
- Throws:
Exception
- if something went wrong
getModelInstanceName
public static String getModelInstanceName(StructureLearner.ModelType model,
byte order,
StructureLearner.LearningType method,
double ess)
- This method returns a short textual representation of the model instance.
- Parameters:
model
- the model typeorder
- the model ordermethod
- the learning methodess
- the used ess
- Returns:
- a short textual representation of the model instance