Class FgesFci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.FgesFci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
public class FgesFci
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, UsesScoreWrapper, TakesIndependenceWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix
The Fges-FCI class represents the Greedy Fast Causal Inference algorithm, adjusted as in *-FCI.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionFgesFci()The FGES-FCI class represents the Greedy Fast Causal Inference algorithm.FgesFci(IndependenceWrapper test, ScoreWrapper score) Constructs a new instance of FGES-FCI with the given IndependenceWrapper and ScoreWrapper.
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Retrieves the comparison graph by transforming the true directed graph (if there is one) into a partially directed acyclic graph (PAG).Retrieves the data type required for the search algorithm.Returns a description of the FGES-FCI algorithm using the description of the independence test and score associated with it.Returns the independence wrapper associated with this instance.Retrieves the Knowledge object associated with this instance.Returns a list of parameters used to configure the search algorithm.Retrieves the ScoreWrapper associated with this instance.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm to infer the causal graph given a dataset and specified parameters.voidSets the independence wrapper for the algorithm.voidsetKnowledge(Knowledge knowledge) Sets the Knowledge object associated with this instance.voidsetScoreWrapper(ScoreWrapper score) Sets the score wrapper for the algorithm.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- 
FgesFcipublic FgesFci()The FGES-FCI class represents the Greedy Fast Causal Inference algorithm.
- 
FgesFciConstructs a new instance of FGES-FCI with the given IndependenceWrapper and ScoreWrapper.- Parameters:
- test- The IndependenceWrapper object to associate with this FGES-FCI instance.
- score- The ScoreWrapper object to associate with this FGES-FCI instance.
 
 
- 
- 
Method Details- 
runSearchRuns the search algorithm to infer the causal graph given a dataset and specified parameters.- Parameters:
- dataModel- The dataset containing the observational data.
- parameters- The parameters to configure the search algorithm.
- Returns:
- The inferred causal graph.
- Throws:
- InterruptedException
 
- 
getComparisonGraphRetrieves the comparison graph by transforming the true directed graph (if there is one) into a partially directed acyclic graph (PAG).- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph in the form of a partially directed acyclic graph (PAG).
 
- 
getDescriptionReturns a description of the FGES-FCI algorithm using the description of the independence test and score associated with it.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
getDataTypeRetrieves the data type required for the search algorithm.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required for the search algorithm.
 
- 
getParametersReturns a list of parameters used to configure the search algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters used to configure the search algorithm.
 
- 
getKnowledgeRetrieves the Knowledge object associated with this instance.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The Knowledge object associated with this instance.
 
- 
setKnowledgeSets the Knowledge object associated with this instance.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- The Knowledge object to be set.
 
- 
getScoreWrapperRetrieves the ScoreWrapper associated with this instance.- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
- Returns:
- The ScoreWrapper associated with this instance.
 
- 
setScoreWrapperSets the score wrapper for the algorithm.- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- the score wrapper.
 
- 
getIndependenceWrapperReturns the independence wrapper associated with this instance.- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
- Returns:
- The independence wrapper.
 
- 
setIndependenceWrapperSets the independence wrapper for the algorithm.- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
- Parameters:
- test- the independence wrapper to set
 
 
-