Class Cfci

java.lang.Object
edu.cmu.tetrad.search.Cfci
All Implemented Interfaces:
IGraphSearch

@Deprecated(since="7.9", forRemoval=false) public final class Cfci extends Object implements IGraphSearch
Deprecated.
Adjusts FCI (see) to use conservative orientation as in CPC (see). Because the collider orientation is conservative, there may be ambiguous triples; these may be retrieved using that accessor method.

This class is configured to respect knowledge of forbidden and required edges, including knowledge of temporal tiers.

Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Cfci(IndependenceTest independenceTest)
    Deprecated.
    Constructs a new FCI search for the given independence test and background knowledge.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the ambiguous triples found in the search.
    long
    Deprecated.
    Returns the elapsed time to the search.
    int
    Deprecated.
    Returns the maximum length for any discriminating path.
    Deprecated.
    Returns the map from nodes to their sepsets.
    boolean
    Deprecated.
    Returns true if Zhang's complete rule set should be used, false if only R1-T1 (the rule set of the original FCI) should be used.
    boolean
    Deprecated.
    Whether to do the discriminating path rule.
    boolean
    Deprecated.
    Whether verbose output (about independencies) is output.
    Deprecated.
    Performs the search and returns the PAG.
    void
    setCompleteRuleSetUsed(boolean completeRuleSetUsed)
    Deprecated.
    Sets whether the complete rule set should be used.
    void
    setDepth(int depth)
    Deprecated.
    Sets the depth--i.e., the maximum number of variables conditioned on in any test.
    void
    Deprecated.
    Set the knowledge used in the search.
    void
    setMaxDiscriminatingPathLength(int maxDiscriminatingPathLength)
    Deprecated.
    Sets the maximum length of any discriminating path.
    void
    setMaxReachablePathLength(int maxReachablePathLength)
    Deprecated.
    Sets the maximum length for any discriminating path.
    void
    setPossibleDsepSearchDone(boolean possibleDsepSearchDone)
    Deprecated.
    Whether to do the discriminating path rule.
    void
    setVerbose(boolean verbose)
    Deprecated.
    Whether verbose output (about independencies) is output.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface edu.cmu.tetrad.search.IGraphSearch

    getTest, setTest
  • Constructor Details

    • Cfci

      public Cfci(IndependenceTest independenceTest)
      Deprecated.
      Constructs a new FCI search for the given independence test and background knowledge.
      Parameters:
      independenceTest - The independence to use as an oracle.
  • Method Details

    • search

      public Graph search() throws InterruptedException
      Deprecated.
      Performs the search and returns the PAG.
      Specified by:
      search in interface IGraphSearch
      Returns:
      The search PAG.
      Throws:
      InterruptedException - if any.
    • setDepth

      public void setDepth(int depth)
      Deprecated.
      Sets the depth--i.e., the maximum number of variables conditioned on in any test.
      Parameters:
      depth - This maximum.
    • getElapsedTime

      public long getElapsedTime()
      Deprecated.
      Returns the elapsed time to the search.
      Returns:
      This time.
    • getSepsets

      public SepsetMap getSepsets()
      Deprecated.
      Returns the map from nodes to their sepsets. For x _||_ y | z1,...,zn, this would map {x, y} to {z1,...,zn}.
      Returns:
      This map.
    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
      Deprecated.
      Set the knowledge used in the search.
      Parameters:
      knowledge - This knowledge.
      See Also:
    • isCompleteRuleSetUsed

      public boolean isCompleteRuleSetUsed()
      Deprecated.
      Returns true if Zhang's complete rule set should be used, false if only R1-T1 (the rule set of the original FCI) should be used. False by default.
      Returns:
      True for the complete rule set.
    • setCompleteRuleSetUsed

      public void setCompleteRuleSetUsed(boolean completeRuleSetUsed)
      Deprecated.
      Sets whether the complete rule set should be used.
      Parameters:
      completeRuleSetUsed - set to true if Zhang's complete rule set should be used, false if only R1-T1 (the rule set of the original FCI) should be used. False by default.
    • getAmbiguousTriples

      public Set<Triple> getAmbiguousTriples()
      Deprecated.
      Returns the ambiguous triples found in the search.
      Returns:
      This set.
      See Also:
    • isVerbose

      public boolean isVerbose()
      Deprecated.
      Whether verbose output (about independencies) is output.
      Returns:
      True iff verbose output (about independencies) is output.
    • setVerbose

      public void setVerbose(boolean verbose)
      Deprecated.
      Whether verbose output (about independencies) is output.
      Parameters:
      verbose - True iff verbose output (about independencies) is output.
    • isPossibleDsepSearchDone

      public boolean isPossibleDsepSearchDone()
      Deprecated.
      Whether to do the discriminating path rule.
      Returns:
      True, iff the discriminating path rule is done.
    • setPossibleDsepSearchDone

      public void setPossibleDsepSearchDone(boolean possibleDsepSearchDone)
      Deprecated.
      Whether to do the discriminating path rule.
      Parameters:
      possibleDsepSearchDone - True, iff the discriminating path rule is done.
    • getMaxReachablePathLength

      public int getMaxReachablePathLength()
      Deprecated.
      Returns the maximum length for any discriminating path. -1 if unlimited; otherwise, a positive integer.
      Returns:
      This length.
    • setMaxReachablePathLength

      public void setMaxReachablePathLength(int maxReachablePathLength)
      Deprecated.
      Sets the maximum length for any discriminating path. -1 if unlimited; otherwise, a positive integer.
      Parameters:
      maxReachablePathLength - This length.
    • setMaxDiscriminatingPathLength

      public void setMaxDiscriminatingPathLength(int maxDiscriminatingPathLength)
      Deprecated.
      Sets the maximum length of any discriminating path.
      Parameters:
      maxDiscriminatingPathLength - the maximum length of any discriminating path, or -1 if unlimited.