|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jstacs.sampling.SimpleBurnInTest
public class SimpleBurnInTest
This is a very simple test for the length of the burn-in phase. It returns for all samplings the length given in the constructor.
Constructor Summary | |
---|---|
SimpleBurnInTest(int burnInLength)
Deprecated. This is the main constructor that creates an instance of SimpleBurnInTest with fixed burn-in length. |
|
SimpleBurnInTest(StringBuffer xml)
Deprecated. The standard constructor for the interface Storable . |
Method Summary | |
---|---|
SimpleBurnInTest |
clone()
Deprecated. Return a deep copy of this object. |
String |
getInstanceName()
Deprecated. Returns a short description of the burn-in test. |
int |
getLengthOfBurnIn()
Deprecated. Computes and returns the length of the burn-in phase using the values from BurnInTest.setValue(double) . |
void |
resetAllValues()
Deprecated. This method can be used to remove all values from the internal memory. |
void |
setCurrentSamplingIndex(int index)
Deprecated. This method sets the value of the current sampling. |
void |
setValue(double val)
Deprecated. This method can be used to fill the internal memory with the values that will be used to determine the length of the burn-in phase. |
StringBuffer |
toXML()
Deprecated. This method returns an XML representation as StringBuffer of an
instance of the implementing class. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleBurnInTest(int burnInLength)
SimpleBurnInTest
with fixed burn-in length.
burnInLength
- the fixed length of the burn-inpublic SimpleBurnInTest(StringBuffer xml) throws NonParsableException
Storable
.
Creates a new SimpleBurnInTest
out of its XML representation.
xml
- the StringBuffer
containing the model as XML
representation
NonParsableException
- if the StringBuffer
can not be parsedMethod Detail |
---|
public SimpleBurnInTest clone() throws CloneNotSupportedException
BurnInTest
clone
in interface BurnInTest
clone
in class Object
CloneNotSupportedException
- if the object can not be clonedObject.clone()
public void setCurrentSamplingIndex(int index)
BurnInTest
BurnInTest.setValue(double)
to a sampling.
setCurrentSamplingIndex
in interface BurnInTest
index
- the index of the samplingpublic void setValue(double val)
BurnInTest
setValue
in interface BurnInTest
val
- the valuepublic void resetAllValues()
BurnInTest
resetAllValues
in interface BurnInTest
public int getLengthOfBurnIn()
BurnInTest
BurnInTest.setValue(double)
.
getLengthOfBurnIn
in interface BurnInTest
public StringBuffer toXML()
Storable
StringBuffer
of an
instance of the implementing class.
toXML
in interface Storable
public String getInstanceName()
BurnInTest
getInstanceName
in interface BurnInTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |