Package edu.cmu.tetrad.search.score
Interface DiscreteScore
- All Superinterfaces:
Score
- All Known Implementing Classes:
BdeScore,BDeuScore,DiscreteBicScore,DiscreteBicScoreAdTree
Gives an interface that can be used by various discrete scores.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dataset.voidsetPriorEquivalentSampleSize(double samplePrior) Sets the sample prior.voidsetStructurePrior(double structurePrior) Sets the structure prior.Methods inherited from interface edu.cmu.tetrad.search.score.Score
append, determines, getMaxDegree, getSampleSize, getVariable, getVariables, isEffectEdge, localScore, localScore, localScore, localScoreDiff, localScoreDiff, toString
-
Method Details
-
setStructurePrior
void setStructurePrior(double structurePrior) Sets the structure prior.- Parameters:
structurePrior- Ibid.
-
setPriorEquivalentSampleSize
void setPriorEquivalentSampleSize(double samplePrior) Sets the sample prior.- Parameters:
samplePrior- Ibid.
-
getDataSet
DataSet getDataSet()Returns the dataset.- Returns:
- Ibid.
-