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 Details

    • RfciBsc

      public RfciBsc()
  • Method Details

    • getKnowledge

      public Knowledge getKnowledge()
      Returns a knowledge object.

      Returns the knowledge.

      Specified by:
      getKnowledge in interface HasKnowledge
      Returns:
      a knowledge object.
    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
      Sets a knowledge object.

      Sets the knowledge.

      Specified by:
      setKnowledge in interface HasKnowledge
      Parameters:
      knowledge - a knowledge object.
    • search

      public Graph search(DataModel dataSet, Parameters parameters)
      Runs the search.

      Performs the RFCI-BSC search.

      Specified by:
      search in interface Algorithm
      Parameters:
      dataSet - The data set to run to the search on.
      parameters - The paramters of the search.
      Returns:
      The result graph.
    • getComparisonGraph

      public Graph getComparisonGraph(Graph graph)
      Returns that graph that the result should be compared to.

      Returns the comparison graph.

      Specified by:
      getComparisonGraph in interface Algorithm
      Parameters:
      graph - The true directed graph, if there is one.
      Returns:
      The comparison graph.
    • getDescription

      public String 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 interface Algorithm
      Returns:
      This description.
    • getDataType

      public DataType 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 interface Algorithm
      Returns:
      This type.
    • getParameters

      public List<String> getParameters()
      Returns the parameters that this search uses.

      Returns the parameters of the algorithm.

      Specified by:
      getParameters in interface Algorithm
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of String names of parameters.