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 TypeMethodDescriptionint
Getter for the fieldnumIterations
.Getter for the fieldstartIm
.double
Getter for the fieldstretch
.double
Getter for the fieldtolerance
.boolean
isFlatPrior.static SemEstimatorGibbsParams
Generates a simple exemplar of this class to test serialization.void
setFlatPrior
(boolean flatPrior) Setter for the fieldflatPrior
.void
setNumIterations
(int numIterations) Setter for the fieldnumIterations
.void
setStartIm
(SemIm startIm) Setter for the fieldstartIm
.void
setStretch
(double stretch) Setter for the fieldstretch
.
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization.- Returns:
- a
SemEstimatorGibbsParams
object
-
getStartIm
-
setStartIm
-
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
-