Class RfciBsc
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.RfciBsc
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasKnowledge,- HasParameters,- TetradSerializable,- Serializable
@Algorithm(name="RFCI-BSC",
           command="rfci-bsc",
           algoType=forbid_latent_common_causes,
           dataType=Discrete)
@Experimental
public class RfciBsc
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge
Runs RFCI-BSC, which is RFCI with bootstrap sampling of PAGs.
- Version:
- $Id: $Id
- Author:
- Chirayu Kong Wongchokprasitti, PhD (chw20@pitt.edu)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Retrieves the comparison graph from the true directed graph, if there is one.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Retrieves the knowledge associated with this object.Returns the list of parameter names that are used.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm using a given dataset and parameters.voidsetKnowledge(Knowledge knowledge) Sets the knowledge object.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
RfciBscpublic RfciBsc()Blank constructor.
 
- 
- 
Method Details- 
getKnowledgeRetrieves the knowledge associated with this object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- The knowledge.
 
- 
setKnowledgeSets the knowledge object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- The knowledge object to be set.
 
- 
runSearchRuns a search algorithm using a given dataset and parameters.- Parameters:
- dataModel- The dataset to run the search on.
- parameters- The parameters for the search algorithm.
- Returns:
- The resulting graph from the search algorithm.
 
- 
getComparisonGraphRetrieves the comparison graph from the true directed graph, if there is one.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The true PAG.
 
- 
getDescriptionReturns a short, one-line description of this algorithm. This will be printed in the report.Returns the description of the algorithm. - Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- This description.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.Returns the data type that the algorithm can handle, which is discrete. - Specified by:
- getDataTypein interface- Algorithm
- Returns:
- This type.
 
- 
getParametersReturns the list of parameter names that are used. These are looked up in ParamMap, so if they're notReturns the parameters of the algorithm. - Specified by:
- getParametersin interface- HasParameters
- Returns:
- Returns the list of parameter names that are used. These are looked up in ParamMap, so if they're not already defined they'll need to be defined there.
 
 
-