Package edu.cmu.tetrad.sem
Class SemEstimatorGibbsParams
java.lang.Object
edu.cmu.tetrad.sem.SemEstimatorGibbsParams
- All Implemented Interfaces:
TetradSerializable,Serializable
Stores the freeParameters for an instance of a SemEstimatorGibbs.
- Version:
- $Id: $Id
- Author:
- Frank Wimberly
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintGetter for the fieldnumIterations.Getter for the fieldstartIm.doubleGetter for the fieldstretch.doubleGetter for the fieldtolerance.booleanisFlatPrior.static SemEstimatorGibbsParamsGenerates a simple exemplar of this class to test serialization.voidsetFlatPrior(boolean flatPrior) Setter for the fieldflatPrior.voidsetNumIterations(int numIterations) Setter for the fieldnumIterations.voidsetStartIm(SemIm startIm) Setter for the fieldstartIm.voidsetStretch(double stretch) Setter for the fieldstretch.
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
SemEstimatorGibbsParamsobject
-
getStartIm
Getter for the field
startIm.- Returns:
- a
SemImobject
-
setStartIm
Setter for the field
startIm.- Parameters:
startIm- aSemImobject
-
getStretch
public double getStretch()Getter for the field
stretch.- Returns:
- a double
-
setStretch
public void setStretch(double stretch) Setter for the field
stretch.- Parameters:
stretch- a double
-
getTolerance
public double getTolerance()Getter for the field
tolerance.- Returns:
- a double
-
getNumIterations
public int getNumIterations()Getter for the field
numIterations.- Returns:
- a int
-
setNumIterations
public void setNumIterations(int numIterations) Setter for the field
numIterations.- Parameters:
numIterations- a int
-
isFlatPrior
public boolean isFlatPrior()isFlatPrior.
- Returns:
- a boolean
-
setFlatPrior
public void setFlatPrior(boolean flatPrior) Setter for the field
flatPrior.- Parameters:
flatPrior- a boolean
-