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,HasKnowledge,HasParameters,TakesIndependenceWrapper,TetradSerializable,Serializable
@Algorithm(name="CFCI",
command="cfci",
algoType=allow_latent_common_causes)
@Deprecated(since="7.9",
forRemoval=false)
@Bootstrapping
public class Cfci
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix, LatentStructureAlgorithm
Deprecated.
Conservative FCI. This is a wrapper for the CFCI algorithm in Tetrad, which is conservative in the same sense as CPC,
Conservative PC. That is, it checks, for triple <X, Y, Z>, whether orienting colliders or noncoliders can be
done unambiguously. If not, it leaves the edge undirected. It is also similar to FCI in that it allows for latent
common causes.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCfci()Deprecated.Constructs a new conservative FCI algorithm.Cfci(IndependenceWrapper test) Deprecated.Constructs a new conservative FCI algorithm with the given independence test. -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Deprecated.Retrieves the comparison graph by converting the given true directed graph into a partially directed graph (PAG) using the DAG to PAG transformation.Deprecated.Retrieves the data type required by the search algorithm.Deprecated.Returns the description of the algorithm.Deprecated.Retrieves the IndependenceWrapper used by the algorithm.Deprecated.Returns the knowledge.Deprecated.Returns the list of parameters used by the algorithm.runSearch(DataModel dataModel, Parameters parameters) Deprecated.Runs the search algorithm to discover the causal graph.voidDeprecated.Sets the independence wrapper for the algorithm.voidsetKnowledge(Knowledge knowledge) Deprecated.Sets the knowledge object for the algorithm.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, searchMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphs
getBootstrapGraphs
-
Constructor Details
-
Cfci
public Cfci()Deprecated.Constructs a new conservative FCI algorithm. -
Cfci
Deprecated.Constructs a new conservative FCI algorithm with the given independence test.- Parameters:
test- the independence test
-
-
Method Details
-
runSearch
Deprecated.Runs the search algorithm to discover the causal graph.- Parameters:
dataModel- The data model used for the search.parameters- The parameters for the search algorithm.- Returns:
- The discovered causal graph.
- Throws:
IllegalArgumentException- if the data model is not an instance of DataSet when time lag is specified.InterruptedException
-
getComparisonGraph
Deprecated.Retrieves the comparison graph by converting the given true directed graph into a partially directed graph (PAG) using the DAG to PAG transformation.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph as a partially directed graph (PAG).
-
getDescription
Deprecated.Returns the description of the algorithm.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- The description of the algorithm.
-
getDataType
Deprecated.Retrieves the data type required by the search algorithm.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- The data type required by the search algorithm.
-
getParameters
Deprecated.Returns the list of parameters used by the algorithm.- Specified by:
getParametersin interfaceHasParameters- Returns:
- The list of parameters used by the algorithm.
-
getKnowledge
Deprecated.Returns the knowledge.- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- The knowledge.
-
setKnowledge
Deprecated.Sets the knowledge object for the algorithm.- Specified by:
setKnowledgein interfaceHasKnowledge- Parameters:
knowledge- a knowledge object
-
getIndependenceWrapper
Deprecated.Retrieves the IndependenceWrapper used by the algorithm.- Specified by:
getIndependenceWrapperin interfaceTakesIndependenceWrapper- Returns:
- The IndependenceWrapper object.
-
setIndependenceWrapper
Deprecated.Sets the independence wrapper for the algorithm.- Specified by:
setIndependenceWrapperin interfaceTakesIndependenceWrapper- Parameters:
test- the independence wrapper to set
-