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 TypeMethodDescriptionint
getDepth()
int
void
Searches for a PAG satisfying the description in Thomas Richardson (1997), dissertation, Carnegie Mellon University.static void
orientCollider
(Node x, Node y, Node z, PcAll.ConflictRule conflictRule, Graph graph) void
setConflictRule
(PcAll.ConflictRule conflictRule) void
setDepth
(int depth) void
setKnowledge
(Knowledge knowledge) void
setMaxPathLength
(int maxPathLength) void
setUseHeuristic
(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
-