Class RfciBsc
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.RfciBsc
- All Implemented Interfaces:
Algorithm
,HasKnowledge
,HasParameters
,TetradSerializable
,Serializable
@Algorithm(name="RFCI-BSC",
command="rfci-bsc",
algoType=forbid_latent_common_causes,
dataType=Discrete)
@Experimental
public class RfciBsc
extends Object
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 Summary
Constructors -
Method Summary
Modifier 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 dataSet, Parameters parameters) Runs the search.void
setKnowledge
(Knowledge knowledge) Sets a knowledge object.
-
Constructor Details
-
RfciBsc
public RfciBsc()
-
-
Method Details
-
getKnowledge
Returns a knowledge object.Returns the knowledge.
- Specified by:
getKnowledge
in interfaceHasKnowledge
- Returns:
- a knowledge object.
-
setKnowledge
Sets a knowledge object.Sets the knowledge.
- Specified by:
setKnowledge
in interfaceHasKnowledge
- Parameters:
knowledge
- a knowledge object.
-
search
Runs the search.Performs the RFCI-BSC search.
-
getComparisonGraph
Returns that graph that the result should be compared to.Returns the comparison graph.
- Specified by:
getComparisonGraph
in interfaceAlgorithm
- Parameters:
graph
- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Returns a short, one-line description of this algorithm. This will be printed in the report.Returns the description of the algorithm.
- Specified by:
getDescription
in interfaceAlgorithm
- Returns:
- This description.
-
getDataType
Returns 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:
getDataType
in interfaceAlgorithm
- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.Returns the parameters of the algorithm.
- Specified by:
getParameters
in interfaceAlgorithm
- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- A list of String names of parameters.
-