public abstract class AbstractBurnInTestParameterSet extends InstanceParameterSet<AbstractBurnInTest>
AbstractBurnInTest
. This
class fulfills the requirements of a InstanceParameterSet
and
can be used to create a new AbstractBurnInTest
.ParameterSet.ParameterList
errorMessage, parameters, parent
Modifier | Constructor and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
AbstractBurnInTestParameterSet |
clone()
Creates a full clone (deep copy) of this
ParameterSet . |
int |
getNumberOfStarts()
Returns the number of starts.
|
fromXML, getInstance, getInstanceClass, getInstanceComment, getInstanceName, toXML
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
protected AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass) throws IllegalArgumentException
AbstractBurnInTestParameterSet
with empty parameter values.instanceClass
- the class to be instantiatedIllegalArgumentException
- if instanceClass
is null
protected AbstractBurnInTestParameterSet(Class<? extends AbstractBurnInTest> instanceClass, int starts) throws IllegalArgumentException, SimpleParameter.IllegalValueException
AbstractBurnInTestParameterSet
with
pre-defined parameter values.instanceClass
- the class to be instantiatedstarts
- the number of runs the Gibbs Sampler will be startedIllegalArgumentException
- if instanceClass
is null
SimpleParameter.IllegalValueException
- if starts
can not be setprotected 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
public int getNumberOfStarts()
public AbstractBurnInTestParameterSet clone() throws CloneNotSupportedException
ParameterSet
ParameterSet
. 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 ParameterSet
ParameterSet
CloneNotSupportedException