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 Details

    • PAG_SAMPLING_RFCI_PARAMETERS

      public static final List<String> PAG_SAMPLING_RFCI_PARAMETERS
      Constant PAG_SAMPLING_RFCI_PARAMETERS
    • RFCI_PARAMETERS

      public static final List<String> RFCI_PARAMETERS
      Constant RFCI_PARAMETERS
    • PROBABILISTIC_TEST_PARAMETERS

      public static final List<String> PROBABILISTIC_TEST_PARAMETERS
      Constant PROBABILISTIC_TEST_PARAMETERS
  • Constructor Details

    • PagSampleRfci

      public PagSampleRfci()
      Constructs a new instance of the PagSampleRfci algorithm.
  • Method Details

    • runSearch

      public Graph runSearch(DataModel dataSet, Parameters parameters)
      Runs the search algorithm using the given data set and parameters.
      Parameters:
      dataSet - the data set to perform the search on
      parameters - the parameters for the search algorithm
      Returns:
      the graph resulting from the search algorithm
    • getComparisonGraph

      public Graph getComparisonGraph(Graph graph)
      Returns the comparison graph based on the true directed graph.
      Specified by:
      getComparisonGraph in interface Algorithm
      Parameters:
      graph - The true directed graph.
      Returns:
      The comparison graph.
    • getDescription

      public String getDescription()
      Returns a description of the method.
      Specified by:
      getDescription in interface Algorithm
      Returns:
      The description of the method.
    • getDataType

      public DataType getDataType()
      Retrieves the data type associated with the method.
      Specified by:
      getDataType in interface Algorithm
      Returns:
      the data type of the method, which is discrete.
    • getParameters

      public List<String> getParameters()
      Retrieves the list of parameters for the method.
      Specified by:
      getParameters in interface HasParameters
      Returns:
      the list of parameters for the method
    • getKnowledge

      public Knowledge getKnowledge()
      Retrieves the knowledge associated with this method.
      Specified by:
      getKnowledge in interface HasKnowledge
      Returns:
      The knowledge associated with this method.
    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
      Sets the knowledge associated with this method.
      Specified by:
      setKnowledge in interface HasKnowledge
      Parameters:
      knowledge - the knowledge object to be set