Class CpcOrienter

java.lang.Object
edu.cmu.tetrad.search.CpcOrienter
All Implemented Interfaces:
Reorienter

public final class CpcOrienter extends Object implements 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 Details

  • Method Details

    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
      Description copied from interface: Reorienter
      Sets the knowledge.
      Specified by:
      setKnowledge in interface Reorienter
    • setDepth

      public void setDepth(int depth)
    • getElapsedTime

      public long getElapsedTime()
    • getAmbiguousTriples

      public Set<Triple> getAmbiguousTriples()
    • getColliderTriples

      public Set<Triple> getColliderTriples()
    • getNoncolliderTriples

      public Set<Triple> getNoncolliderTriples()
    • orient

      public void orient(Graph graph)
      Runs PC on just the given variable, all of which must be in the domain of the independence test.
      Specified by:
      orient in interface Reorienter