Class GraspFci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.GraspFci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="GRASP-FCI",
           command="grasp-fci",
           algoType=allow_latent_common_causes)
@Bootstrapping
public class GraspFci
extends Object
implements Algorithm, UsesScoreWrapper, TakesIndependenceWrapper, HasKnowledge, ReturnsBootstrapGraphs
Adjusts GFCI to use a permutation algorithm (such as BOSS-Tuck) to do the initial steps of finding adjacencies and
 unshielded colliders.
 
GFCI reference is this:
J.M. Ogarrio and P. Spirtes and J. Ramsey, "A Hybrid Causal Search Algorithm for Latent Variable Models," JMLR 2016.
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns that graph that the result should be compared to.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Returns a knowledge object.Returns the parameters that this search uses.search(DataModel dataModel, Parameters parameters) Runs the search.voidvoidsetKnowledge(Knowledge knowledge) Sets a knowledge object.voidsetScoreWrapper(ScoreWrapper score) 
- 
Constructor Details- 
GraspFcipublic GraspFci()
- 
GraspFci
 
- 
- 
Method Details- 
searchDescription copied from interface:AlgorithmRuns the search.
- 
getComparisonGraphDescription copied from interface:AlgorithmReturns that graph that the result should be compared to.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionDescription copied from interface:AlgorithmReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- This description.
 
- 
getDataTypeDescription copied from interface:AlgorithmReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- This type.
 
- 
getParametersDescription copied from interface:AlgorithmReturns the parameters that this search uses.- Specified by:
- getParametersin interface- Algorithm
- Specified by:
- getParametersin interface- HasParameters
- Returns:
- A list of String names of parameters.
 
- 
getKnowledgeDescription copied from interface:HasKnowledgeReturns a knowledge object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- a knowledge object.
 
- 
setKnowledgeDescription copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- a knowledge object.
 
- 
getIndependenceWrapper- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
 
- 
setIndependenceWrapper- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
 
- 
getScoreWrapper- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
 
- 
setScoreWrapper- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
 
- 
getBootstrapGraphs- Specified by:
- getBootstrapGraphsin interface- ReturnsBootstrapGraphs
 
 
-