Package edu.cmu.tetrad.search
Interface Score
- All Known Subinterfaces:
IBDeuScore,ISemBicScore,LocalDiscreteScore
- All Known Implementing Classes:
BDeScore,BDeuScore,BdeuScoreImages,BicScore,ConditionalGaussianOtherScore,ConditionalGaussianScore,DegenerateGaussianScore,DirichletScore,DiscreteMixedScore,EbicScore,GraphScore,ImagesScore,KimEtAlScores,MagSemBicScore,MNLRScore,MVPScore,PoissonPriorScore,ScoredIndTest,SemBicScore,SemBicScoreDeterministic,SemBicScoreDGWrapper,SemBicScoreImages,SemBicScoreMultiFas,ZhangShenBoundScore,ZhangShenBoundTest
public interface Score
Interface for a score suitable for FGES
-
Method Summary
Modifier and TypeMethodDescriptiondefault Scorebooleandetermines(List<Node> z, Node y) intintgetVariable(String targetName) booleanisEffectEdge(double bump) doublelocalScore(int node) doublelocalScore(int node, int parent) doublelocalScore(int node, int... parents) doublelocalScoreDiff(int x, int y) doublelocalScoreDiff(int x, int y, int[] z) toString()
-
Method Details
-
localScore
double localScore(int node, int... parents) - Parameters:
node- The index of the node.parents- The indices of the node's parents.- Returns:
- The score, or NaN if the score cannot be calculated.
-
localScoreDiff
double localScoreDiff(int x, int y, int[] z) -
localScoreDiff
double localScoreDiff(int x, int y) -
localScore
double localScore(int node, int parent) -
localScore
double localScore(int node) -
getVariables
-
isEffectEdge
boolean isEffectEdge(double bump) -
getSampleSize
int getSampleSize() -
getVariable
-
getMaxDegree
int getMaxDegree() -
determines
-
toString
String toString() -
defaultScore
-