Class MeekRulesRestricted

java.lang.Object
edu.cmu.tetrad.search.MeekRulesRestricted
All Implemented Interfaces:
ImpliedOrientation

public class MeekRulesRestricted extends Object implements ImpliedOrientation
Implements Meek's complete orientation rule set for PC (Chris Meek (1995), "Causal inference and causal explanation with background knowledge"), modified for Conservative PC to check noncolliders against recorded noncolliders before orienting.

For now, the fourth rule is always performed.

Author:
Joseph Ramsey
  • Constructor Details

    • MeekRulesRestricted

      public MeekRulesRestricted()
      Constructs the MeekRules with no logging.
  • Method Details

    • orientImplied

      public Set<Node> orientImplied(Graph graph)
      Description copied from interface: ImpliedOrientation
      Adds implied orientations.
      Specified by:
      orientImplied in interface ImpliedOrientation
      Returns:
      Affected nodes.
    • orientImplied

      public void orientImplied(Graph graph, Set<Node> nodes)
    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
      Description copied from interface: ImpliedOrientation
      Sets knowledge.
      Specified by:
      setKnowledge in interface ImpliedOrientation
    • isAggressivelyPreventCycles

      public boolean isAggressivelyPreventCycles()
    • setAggressivelyPreventCycles

      public void setAggressivelyPreventCycles(boolean aggressivelyPreventCycles)
    • getChangedEdges

      public List<OrderedPair<Edge>> getChangedEdges()
    • getVisitedNodes

      public Set<Node> getVisitedNodes()
    • getNodes

      public Set<Node> getNodes()