|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.sampling.AbstractBurnInTestParameterSet
public abstract class AbstractBurnInTestParameterSet
Class for the parameters of a AbstractBurnInTest. This
class fulfills the requirements of a InstanceParameterSet and
can be used to create a new AbstractBurnInTest.
| 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, ranged |
| Constructor Summary | |
|---|---|
protected |
AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass)
Creates a new AbstractBurnInTestParameterSet with empty parameter values. |
protected |
AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass,
int starts)
Creates a new AbstractBurnInTestParameterSet with
pre-defined parameter values. |
protected |
AbstractBurnInTestParameterSet(StringBuffer representation)
The standard constructor for the interface Storable. |
| Method Summary | |
|---|---|
AbstractBurnInTestParameterSet |
clone()
Creates a full clone (deep copy) of this ParameterSet. |
int |
getNumberOfStarts()
Returns the number of starts. |
protected void |
loadParameters()
Loads the parameters for this ParameterSet. |
| Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
|---|
fromXML, getInstance, getInstanceClass, getInstanceComment, getInstanceName, toXML |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
fromGalaxy, getErrorMessage, getId, getIndex, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, toGalaxy, valuesToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass)
throws IllegalArgumentException
AbstractBurnInTestParameterSet with empty parameter values.
instanceClass - the class to be instantiated
IllegalArgumentException - if instanceClass is null
protected AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass,
int starts)
throws IllegalArgumentException,
SimpleParameter.IllegalValueException,
Exception
AbstractBurnInTestParameterSet with
pre-defined parameter values.
instanceClass - the class to be instantiatedstarts - the number of runs the Gibbs Sampler will be started
IllegalArgumentException - if instanceClass is null
SimpleParameter.IllegalValueException - if starts can not be set
Exception - forwarded from loadParameters()
protected AbstractBurnInTestParameterSet(StringBuffer representation)
throws NonParsableException
Storable.
Constructs an AbstractBurnInTestParameterSet out of an XML representation.
representation - the XML representation as StringBuffer
NonParsableException - if the AbstractBurnInTestParameterSet could not be
reconstructed out of the StringBuffer
representation| Method Detail |
|---|
protected void loadParameters()
throws Exception
ParameterSetParameterSet. This is in most cases
done by calling ParameterSet.initParameterList() or
ParameterSet.initParameterList(int) to initialize
ParameterSet.parameters and afterwards filling
ParameterSet.parameters with instances of subclasses of
Parameter.
loadParameters in class ParameterSetException - if the parameters could not be loadedParameter,
ParameterSet.parameters,
ParameterSet.initParameterList(),
ParameterSet.initParameterList(int)public int getNumberOfStarts()
public AbstractBurnInTestParameterSet clone()
throws CloneNotSupportedException
ParameterSetParameterSet. As a
convenience-method the user can use
fillWithStandardFieldsForClone(ParameterSet) on a newly
created instance of a subclass of ParameterSet to obtain a
clone/copy of all standard member variables (those already defined in
ParameterSet) in the passed ParameterSet. Using this
method, the cloning process becomes merely three-step:ParameterSet, most
likely with an empty constructor or the one taking just the instance
class.
this.fillWithStandardFieldsForClone on this
instance.
Object's method
Object.clone().
clone in class ParameterSetParameterSet
CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||