Package edu.cmu.tetrad.search
Class MagSemBicScore
java.lang.Object
edu.cmu.tetrad.search.MagSemBicScore
- All Implemented Interfaces:
Score
- Author:
- Bryan Andrews
-
Constructor Summary
ConstructorsConstructorDescriptionMagSemBicScore(DataSet dataSet) MagSemBicScore(ICovarianceMatrix covariances) -
Method Summary
Modifier and TypeMethodDescriptionbooleandetermines(List<Node> z, Node y) getMag()intgetOrder()doubleintbooleanisEffectEdge(double bump) doublelocalScore(int i, int... js) doublelocalScoreDiff(int x, int y, int[] z) voidresetMag()voidvoidvoidvoidsetPenaltyDiscount(double penaltyDiscount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.Score
append, defaultScore, getVariable, localScore, localScore, localScoreDiff, toString
-
Constructor Details
-
MagSemBicScore
-
MagSemBicScore
-
-
Method Details
-
getMag
-
setMag
-
resetMag
public void resetMag() -
getOrder
-
setOrder
-
resetOrder
public void resetOrder() -
localScore
public double localScore(int i, int... js) - Specified by:
localScorein interfaceScore- Parameters:
i- The index of the node.js- The indices of the node's parents.- Returns:
- The score, or NaN if the score cannot be calculated.
-
getPenaltyDiscount
public double getPenaltyDiscount() -
setPenaltyDiscount
public void setPenaltyDiscount(double penaltyDiscount) -
localScoreDiff
public double localScoreDiff(int x, int y, int[] z) - Specified by:
localScoreDiffin interfaceScore
-
getSampleSize
public int getSampleSize()- Specified by:
getSampleSizein interfaceScore
-
getVariables
- Specified by:
getVariablesin interfaceScore
-
isEffectEdge
public boolean isEffectEdge(double bump) - Specified by:
isEffectEdgein interfaceScore
-
getMaxDegree
public int getMaxDegree()- Specified by:
getMaxDegreein interfaceScore
-
determines
- Specified by:
determinesin interfaceScore
-