Class Cfci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.Cfci
- All Implemented Interfaces:
Algorithm, LatentStructureAlgorithm, ReturnsBootstrapGraphs, TakesCovarianceMatrix, AcceptsKnowledge, HasParameters, TakesIndependenceWrapper, TetradSerializable, Serializable
@Algorithm(name="CFCI",
command="cfci",
algoType=allow_latent_common_causes,
dataType=All)
@Bootstrapping
public class Cfci
extends AbstractBootstrapAlgorithm
implements Algorithm, AcceptsKnowledge, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix, LatentStructureAlgorithm
CFCI (Conservative FCI). This is FCI with the first collider orientation rule (R0) replaced by the conservative
rule: for each unshielded triple X *-* Z *-* Y with X and Y nonadjacent, all subsets S that render X and Y
independent are enumerated, and Z is oriented as a collider only if Z is in none of them and as a noncollider only
if Z is in all of them. Triples on which the subsets disagree are left unoriented and marked ambiguous.
This is a thin wrapper over Fci with the R0 collider rule pinned to
ColliderRule.CONSERVATIVE; the collider orientation style is therefore deliberately not offered as a
parameter here. The equivalent search can also be had from the FCI box by setting the collider orientation style to
Conservative. This class is retained under its own name because CFCI is a published algorithm, and because sessions
saved by Tetrad 7.6.10 and earlier refer to it by this class name.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns the comparison graph based on the true directed graph, if there is one.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Retrieves theIndependenceWrapperobject associated with this method.Retrieves the knowledge object.Retrieves the list of parameters used by this algorithm.voidSets the IndependenceWrapper object associated with this method.voidsetKnowledge(Knowledge knowledge) Sets the knowledge object for this method.Methods inherited from class AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
Cfci
public Cfci()Constructor. -
Cfci
-
-
Method Details
-
getComparisonGraph
Returns the comparison graph based on the true directed graph, if there is one.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Returns a short, one-line description of this algorithm.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- The description of the algorithm.
-
getDataType
Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- The data type required by the search algorithm.
-
getParameters
Retrieves the list of parameters used by this algorithm.- Specified by:
getParametersin interfaceHasParameters- Returns:
- The list of parameters used by this algorithm.
-
getKnowledge
Retrieves the knowledge object.- Specified by:
getKnowledgein interfaceAcceptsKnowledge- Returns:
- The knowledge object.
-
setKnowledge
Sets the knowledge object for this method.- Specified by:
setKnowledgein interfaceAcceptsKnowledge- Parameters:
knowledge- The knowledge object to set.
-
getIndependenceWrapper
Retrieves theIndependenceWrapperobject associated with this method.- Specified by:
getIndependenceWrapperin interfaceTakesIndependenceWrapper- Returns:
- The IndependenceWrapper object associated with this method.
-
setIndependenceWrapper
Sets the IndependenceWrapper object associated with this method.- Specified by:
setIndependenceWrapperin interfaceTakesIndependenceWrapper- Parameters:
test- the independence wrapper to set
-