|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.sampling.AbstractBurnInTestParameterSet
de.jstacs.sampling.VarianceRatioBurnInTestParameterSet
public class VarianceRatioBurnInTestParameterSet
Class for the parameters of a VarianceRatioBurnInTest
. This
class fulfills the requirements of a AbstractBurnInTestParameterSet
and
can be used to create a new VarianceRatioBurnInTest
.
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 | |
---|---|
VarianceRatioBurnInTestParameterSet()
Creates a new VarianceRatioBurnInTestParameterSet with empty parameter values. |
|
VarianceRatioBurnInTestParameterSet(int starts,
double t)
Creates a new VarianceRatioBurnInTestParameterSet with
pre-defined parameter values. |
|
VarianceRatioBurnInTestParameterSet(StringBuffer representation)
The standard constructor for the interface Storable . |
Method Summary | |
---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be constructed using this ParameterSet . |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed using this ParameterSet . |
double |
getThreshold()
Returns the threshold used in the VarianceRatioBurnInTestParameterSet . |
protected void |
loadParameters()
Loads the parameters for this ParameterSet . |
Methods inherited from class de.jstacs.sampling.AbstractBurnInTestParameterSet |
---|
clone, getNumberOfStarts |
Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
---|
fromXML, getInstance, getInstanceClass, 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 |
---|
public VarianceRatioBurnInTestParameterSet()
VarianceRatioBurnInTestParameterSet
with empty parameter values.
public VarianceRatioBurnInTestParameterSet(int starts, double t) throws Exception
VarianceRatioBurnInTestParameterSet
with
pre-defined parameter values.
starts
- the number of runs the Gibbs Sampler will be startedt
- the threshold for determining the end of the burn-in phase
Exception
- forwarded from loadParameters()
public VarianceRatioBurnInTestParameterSet(StringBuffer representation) throws NonParsableException
Storable
.
Constructs an VarianceRatioBurnInTestParameterSet
out of an XML representation.
representation
- the XML representation as StringBuffer
NonParsableException
- if the VarianceRatioBurnInTestParameterSet
could not be
reconstructed out of the StringBuffer
representation
Method Detail |
---|
protected void loadParameters() throws Exception
ParameterSet
ParameterSet
. 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 AbstractBurnInTestParameterSet
Exception
- if the parameters could not be loadedParameter
,
ParameterSet.parameters
,
ParameterSet.initParameterList()
,
ParameterSet.initParameterList(int)
public double getThreshold()
VarianceRatioBurnInTestParameterSet
.
VarianceRatioBurnInTestParameterSet
public String getInstanceComment()
InstanceParameterSet
ParameterSet
.
getInstanceComment
in class InstanceParameterSet
public String getInstanceName()
InstanceParameterSet
ParameterSet
.
getInstanceName
in class InstanceParameterSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |