Class Fci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.Fci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- TetradSerializable,- Serializable
@Algorithm(name="FCI",
           command="fci",
           algoType=allow_latent_common_causes)
@Bootstrapping
public class Fci
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix
The Fast Causal Inference (FCI) algorithm.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm to find a graph based on the given data model and parameters.voidSets the IndependenceWrapper object associated with this method.voidsetKnowledge(Knowledge knowledge) Sets the knowledge object for this method.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, searchMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.ReturnsBootstrapGraphsgetBootstrapGraphs
- 
Constructor Details- 
Fcipublic Fci()Constructor.
- 
FciConstructor.- Parameters:
- test- a- IndependenceWrapperobject
 
 
- 
- 
Method Details- 
runSearchRuns a search algorithm to find a graph based on the given data model and parameters.- Parameters:
- dataModel- the data model containing the dataset
- parameters- the parameters for the search algorithm
- Returns:
- the resulting graph
- Throws:
- InterruptedException
 
- 
getComparisonGraphReturns the comparison graph based on the true directed graph, if there is one.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns a short, one-line description of this algorithm. The description includes the description of the independence test used by this algorithm.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the search algorithm.
 
- 
getParametersRetrieves the list of parameters used by this algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters used by this algorithm.
 
- 
getKnowledgeRetrieves the knowledge object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The knowledge object.
 
- 
setKnowledgeSets the knowledge object for this method.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- The knowledge object to set.
 
- 
getIndependenceWrapperRetrieves theIndependenceWrapperobject associated with this method. This method is used to get the independence test used by the algorithm.- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
- Returns:
- The IndependenceWrapper object associated with this method.
 
- 
setIndependenceWrapperSets the IndependenceWrapper object associated with this method.- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
- Parameters:
- test- the independence wrapper to set
 
 
-