Class PagSampleRfci
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.oracle.pag.PagSampleRfci
- All Implemented Interfaces:
Algorithm
,ReturnsBootstrapGraphs
,HasKnowledge
,HasParameters
,TetradSerializable
,Serializable
@Algorithm(name="PAG-Sampling-RFCI",
command="pag-sampling-rfci",
algoType=allow_latent_common_causes)
public class PagSampleRfci
extends AbstractBootstrapAlgorithm
implements Algorithm, HasKnowledge
Jan 29, 2023 3:45:09 PM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2univpitt@gmail.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionConstantPAG_SAMPLING_RFCI_PARAMETERS
ConstantPROBABILISTIC_TEST_PARAMETERS
ConstantRFCI_PARAMETERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComparisonGraph
(Graph graph) Returns the comparison graph based on the true directed graph.Retrieves the data type associated with the method.Returns a description of the method.Retrieves the knowledge associated with this method.Retrieves the list of parameters for the method.runSearch
(DataModel dataSet, Parameters parameters) Runs the search algorithm using the given data set and parameters.void
setKnowledge
(Knowledge knowledge) Sets the knowledge associated with this method.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
getBootstrapGraphs, search
-
Field Details
-
PAG_SAMPLING_RFCI_PARAMETERS
-
RFCI_PARAMETERS
-
PROBABILISTIC_TEST_PARAMETERS
-
-
Constructor Details
-
PagSampleRfci
public PagSampleRfci()Constructs a new instance of the PagSampleRfci algorithm.
-
-
Method Details
-
runSearch
Runs the search algorithm using the given data set and parameters.- Parameters:
dataSet
- the data set to perform the search onparameters
- the parameters for the search algorithm- Returns:
- the graph resulting from the search algorithm
-
getComparisonGraph
Returns the comparison graph based on the true directed graph.- Specified by:
getComparisonGraph
in interfaceAlgorithm
- Parameters:
graph
- The true directed graph.- Returns:
- The comparison graph.
-
getDescription
Returns a description of the method.- Specified by:
getDescription
in interfaceAlgorithm
- Returns:
- The description of the method.
-
getDataType
Retrieves the data type associated with the method.- Specified by:
getDataType
in interfaceAlgorithm
- Returns:
- the data type of the method, which is discrete.
-
getParameters
Retrieves the list of parameters for the method.- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- the list of parameters for the method
-
getKnowledge
Retrieves the knowledge associated with this method.- Specified by:
getKnowledge
in interfaceHasKnowledge
- Returns:
- The knowledge associated with this method.
-
setKnowledge
Sets the knowledge associated with this method.- Specified by:
setKnowledge
in interfaceHasKnowledge
- Parameters:
knowledge
- the knowledge object to be set
-