Package edu.cmu.tetrad.search
Class SepsetsTeyssier
java.lang.Object
edu.cmu.tetrad.search.SepsetsTeyssier
- All Implemented Interfaces:
SepsetProducer
Selects the first sepset it comes to from among the extra sepsets or the adjacents of i or k,
or null if none is found.
-
Constructor Summary
ConstructorsConstructorDescriptionSepsetsTeyssier(Graph graph, TeyssierScorer scorer, SepsetMap extraSepsets, int sepsetsDepth) -
Method Summary
Modifier and TypeMethodDescriptiongetDag()doublegetScore()Pick out the sepset from among adj(i) or adj(k) with the highest score value.booleanisIndependent(Node a, Node b, List<Node> c) booleanisUnshieldedCollider(Node i, Node j, Node k) booleanisUnshieldedNoncollider(Node i, Node j, Node k) voidsetVerbose(boolean verbose)
-
Constructor Details
-
SepsetsTeyssier
public SepsetsTeyssier(Graph graph, TeyssierScorer scorer, SepsetMap extraSepsets, int sepsetsDepth)
-
-
Method Details
-
getSepset
Pick out the sepset from among adj(i) or adj(k) with the highest score value.- Specified by:
getSepsetin interfaceSepsetProducer
-
isUnshieldedCollider
- Specified by:
isUnshieldedColliderin interfaceSepsetProducer
-
isUnshieldedNoncollider
- Specified by:
isUnshieldedNoncolliderin interfaceSepsetProducer
-
isIndependent
- Specified by:
isIndependentin interfaceSepsetProducer
-
getScore
public double getScore()- Specified by:
getScorein interfaceSepsetProducer
-
getVariables
- Specified by:
getVariablesin interfaceSepsetProducer
-
setVerbose
public void setVerbose(boolean verbose) - Specified by:
setVerbosein interfaceSepsetProducer
-
getDag
-