Class GraspFci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.GraspFci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="GRASP-FCI",
           command="grasp-fci",
           algoType=allow_latent_common_causes)
@Bootstrapping
public class GraspFci
extends AbstractBootstrapAlgorithm
implements Algorithm, UsesScoreWrapper, TakesIndependenceWrapper, HasKnowledge, ReturnsBootstrapGraphs, TakesCovarianceMatrix
GRaSP-FCI, an implentatation of *-FCI using GRaSP.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGraspFci()Constructor for GraspFci.GraspFci(IndependenceWrapper test, ScoreWrapper score) Constructor for GraspFci.
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Retrieves a comparison graph by transforming a true directed graph into a partially directed graph (PAG).Retrieves the data type required by the search algorithm.Returns a short, one-line description of this algorithm.Retrieves the IndependenceWrapper object associated with this method.Retrieves the knowledge object associated with this method.Retrieves the list of parameters used by the algorithm.Retrieves the ScoreWrapper object associated with this method.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm to find a graph structure based on a given data set and parameters.voidSets the independence wrapper.voidsetKnowledge(Knowledge knowledge) Sets the knowledge object associated with this method.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- 
GraspFcipublic GraspFci()Constructor for GraspFci. 
- 
GraspFciConstructor for GraspFci. - Parameters:
- test- a- IndependenceWrapperobject
- score- a- ScoreWrapperobject
 
 
- 
- 
Method Details- 
runSearchRuns a search algorithm to find a graph structure based on a given data set and parameters.- Parameters:
- dataModel- the data set to be used for the search algorithm
- parameters- the parameters for the search algorithm
- Returns:
- the graph structure found by the search algorithm
- Throws:
- InterruptedException
 
- 
getComparisonGraphRetrieves a comparison graph by transforming a true directed graph into a partially directed graph (PAG).- 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 is generated by concatenating the descriptions of the test and score objects associated with this algorithm.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of this algorithm.
 
- 
getDataTypeRetrieves the data type required by the search algorithm.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the search algorithm.
 
- 
getParametersRetrieves the list of parameters used by the algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters used by the algorithm.
 
- 
getKnowledgeRetrieves the knowledge object associated with this method.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The knowledge object.
 
- 
setKnowledgeSets the knowledge object associated with this method.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- the knowledge object to be set
 
- 
getIndependenceWrapperRetrieves the IndependenceWrapper object associated with this method. The IndependenceWrapper object contains an IndependenceTest that checks the independence of two variables conditional on a set of variables using a given dataset and parameters .- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
- Returns:
- The IndependenceWrapper object associated with this method.
 
- 
setIndependenceWrapperSets the independence wrapper.- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
- Parameters:
- test- the independence wrapper.
 
- 
getScoreWrapperRetrieves the ScoreWrapper object associated with this method.- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
- Returns:
- The ScoreWrapper object associated with this method.
 
- 
setScoreWrapperSets the score wrapper for the algorithm.- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- the score wrapper.
 
 
-