Class GRaSPTol
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.GRaSPTol
- All Implemented Interfaces:
- Algorithm,- HasKnowledge,- HasParameters,- TakesIndependenceWrapper,- UsesScoreWrapper,- TetradSerializable,- Serializable
@Algorithm(name="GRaSP-Tol",
           command="grasptol",
           algoType=forbid_latent_common_causes)
@Bootstrapping
@Experimental
public class GRaSPTol
extends Object
implements Algorithm, UsesScoreWrapper, TakesIndependenceWrapper, HasKnowledge
GRaSP (Greedy Relaxations of Sparsest Permutation)
- Author:
- bryanandrews, 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 the parameters that this search uses.search(DataModel dataModel, Parameters parameters) Runs the search.voidsetIndependenceWrapper(IndependenceWrapper independenceWrapper) voidsetKnowledge(Knowledge knowledge) Sets a knowledge object.voidsetScoreWrapper(ScoreWrapper score) 
- 
Constructor Details- 
GRaSPTolpublic GRaSPTol()
- 
GRaSPTol
 
- 
- 
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.
 
- 
getScoreWrapper- Specified by:
- getScoreWrapperin interface- UsesScoreWrapper
 
- 
setScoreWrapper- Specified by:
- setScoreWrapperin interface- UsesScoreWrapper
 
- 
getIndependenceWrapper- Specified by:
- getIndependenceWrapperin interface- TakesIndependenceWrapper
 
- 
setIndependenceWrapper- Specified by:
- setIndependenceWrapperin interface- TakesIndependenceWrapper
 
- 
getKnowledge- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- a knowledge object.
 
- 
setKnowledgeDescription copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
- setKnowledgein interface- HasKnowledge
 
 
-