Package edu.cmu.tetrad.search
Class OrientCollidersMaxP
java.lang.Object
edu.cmu.tetrad.search.OrientCollidersMaxP
This is an optimization of the CCD (Cyclic Causal Discovery) algorithm by Thomas Richardson.
- Author:
- Joseph Ramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()intvoidSearches for a PAG satisfying the description in Thomas Richardson (1997), dissertation, Carnegie Mellon University.static voidorientCollider(Node x, Node y, Node z, PcAll.ConflictRule conflictRule, Graph graph) voidsetConflictRule(PcAll.ConflictRule conflictRule) voidsetDepth(int depth) voidsetKnowledge(Knowledge knowledge) voidsetMaxPathLength(int maxPathLength) voidsetUseHeuristic(boolean useHeuristic)
-
Constructor Details
-
OrientCollidersMaxP
-
-
Method Details
-
orient
Searches for a PAG satisfying the description in Thomas Richardson (1997), dissertation, Carnegie Mellon University. Uses a simplification of that algorithm. -
getDepth
public int getDepth()- Returns:
- The depth of search for the Fast Adjacency Search.
-
setDepth
public void setDepth(int depth) - Parameters:
depth- The depth of search for the Fast Adjacency Search.
-
getKnowledge
-
setKnowledge
-
setUseHeuristic
public void setUseHeuristic(boolean useHeuristic) -
getMaxPathLength
public int getMaxPathLength() -
setMaxPathLength
public void setMaxPathLength(int maxPathLength) -
orientCollider
public static void orientCollider(Node x, Node y, Node z, PcAll.ConflictRule conflictRule, Graph graph) -
getConflictRule
-
setConflictRule
-