Class SvarGfci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.SvarGfci
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- TakesCovarianceMatrix,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="SvarGFCI",
           command="svar-gfci",
           algoType=allow_latent_common_causes)
@TimeSeries
@Bootstrapping
public class SvarGfci
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge, TakesIndependenceWrapper, UsesScoreWrapper, ReturnsBootstrapGraphs, TakesCovarianceMatrix
SvarGfci class is an implementation of the SVAR GFCI algorithm. It is used to learn causal relationships from time
 series data.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSvarGfci()Constructor for SvarGfci.SvarGfci(IndependenceWrapper type, ScoreWrapper score) Constructor for SvarGfci.
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns a comparison graph based on the given true directed graph.Returns the data type that this method requires, whether continuous, discrete, or mixed.Returns a description of this method.Retrieves the IndependenceWrapper object associated with this algorithm.Returns the knowledge associated with this object.Returns the list of parameters required by this method.Retrieves the ScoreWrapper object associated with this algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm on the given data set using the specified parameters.voidSets the independence wrapper for the algorithm.voidsetKnowledge(Knowledge knowledge) Sets the knowledge associated with this object.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- 
SvarGfcipublic SvarGfci()Constructor for SvarGfci. 
- 
SvarGfciConstructor for SvarGfci. - Parameters:
- type- a- IndependenceWrapperobject
- score- a- ScoreWrapperobject
 
 
- 
- 
Method Details- 
runSearchRuns a search algorithm on the given data set using the specified parameters.- Parameters:
- dataModel- the data set containing the variables to search over
- parameters- the parameters specifying the search configuration
- Returns:
- the resulting graph representing the discovered relationships
- Throws:
- InterruptedException
 
- 
getComparisonGraphReturns a comparison graph based on the given true directed graph.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns a description of this method.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of this method.
 
- 
getDataTypeReturns the data type that this method requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by this method.
 
- 
getParametersReturns the list of parameters required by this method. The parameters include: - FAITHFULNESS_ASSUMED - MAX_INDEGREE - TIME_LAG - VERBOSE- Specified by:
- getParametersin interface- HasParameters
- Returns:
- the list of parameters required by this method
 
- 
getKnowledgeReturns the knowledge associated with this object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The knowledge object.
 
- 
setKnowledgeSets the knowledge associated with this object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- the knowledge object to set
 
- 
getIndependenceWrapperRetrieves the IndependenceWrapper object associated with this algorithm.- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
- Returns:
- The IndependenceWrapper object.
 
- 
setIndependenceWrapperSets the independence wrapper for the algorithm.- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
- Parameters:
- test- the independence wrapper to set
 
- 
getScoreWrapperRetrieves the ScoreWrapper object associated with this algorithm.- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
- Returns:
- The ScoreWrapper object.
 
- 
setScoreWrapperSets the score wrapper for the algorithm.- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
- Parameters:
- score- the score wrapper to set
 
 
-