Package edu.cmu.tetrad.search
Class CpcOrienter
java.lang.Object
edu.cmu.tetrad.search.CpcOrienter
- All Implemented Interfaces:
Reorienter
Reorients edges in the getModel graph as CPC would orient them. Basically, does a CPDAG search using CPC over the
given (undirected) edges in the given graph.
- Author:
- Joseph Ramsey (this version).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
void
Runs PC on just the given variable, all of which must be in the domain of the independence test.void
setDepth
(int depth) void
setKnowledge
(Knowledge knowledge) Sets the knowledge.
-
Constructor Details
-
CpcOrienter
-
-
Method Details
-
setKnowledge
Description copied from interface:Reorienter
Sets the knowledge.- Specified by:
setKnowledge
in interfaceReorienter
-
setDepth
public void setDepth(int depth) -
getElapsedTime
public long getElapsedTime() -
getAmbiguousTriples
-
getColliderTriples
-
getNoncolliderTriples
-
orient
Runs PC on just the given variable, all of which must be in the domain of the independence test.- Specified by:
orient
in interfaceReorienter
-