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 TypeMethodDescriptionlongvoidRuns PC on just the given variable, all of which must be in the domain of the independence test.voidsetDepth(int depth) voidsetKnowledge(Knowledge knowledge) Sets the knowledge.
-
Constructor Details
-
CpcOrienter
-
-
Method Details
-
setKnowledge
Description copied from interface:ReorienterSets the knowledge.- Specified by:
setKnowledgein 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:
orientin interfaceReorienter
-