Interface Algorithm

All Superinterfaces:
HasParameters, Serializable, TetradSerializable
All Known Subinterfaces:
MultiDataSetAlgorithm
All Known Implementing Classes:
BDCE, BFCI, BFCITR, BOSS, BOSS_MB, BOSS_MB2, BPC, BRIDGES, BRIDGES2, CCD, CcdMax, CcdMaxConcatenated, Cfci, CPC, CpcStable, CStaR, EB, ExternalAlgorithm, ExternalAlgorithmBnlearnMmhc, ExternalAlgorithmBNTPc, ExternalAlgorithmIntersection, ExternalAlgorithmPcalgGes, ExternalAlgorithmPcalgPc, ExternalAlgorithmTetrad, FactorAnalysis, FAS, FASK, FaskConcatenated, FaskPW, FaskVote, FasLofs, FasLofsConcatenated, Fci, FciMax, Fges, FgesConcatenated, FgesMb, FgesMeasurement, FirstInflection, FOFC, FTFC, GesMe, GFCI, Glasso, GRaSP, GRASP_FCI, GRaSPTol, Images, ImagesBDeu, ImagesPcStableMax, ImagesSemBic, Ling, Lingam, Mgm, MixedFgesDiscretingContinuousVariables, MixedFgesTreatingDiscreteAsContinuous, MultiFaskV1, PagSamplingRfci, PC, PC_MB, PcAll, Pcd, PCMAX, PcStable, PcStableMaxConcatenated, R1, R2, R3, Rfci, RfciBsc, RSkew, RSkewE, SingleGraphAlg, Skew, SkewE, SP, SPFCI, StabilitySelection, StARS, SvarFci, SvarGfci, Tanh

public interface Algorithm extends HasParameters, TetradSerializable
Interface that algorithm must implement.
Author:
jdramsey
  • Method Details

    • search

      Graph search(DataModel dataSet, Parameters parameters)
      Runs the search.
      Parameters:
      dataSet - The data set to run to the search on.
      parameters - The paramters of the search.
      Returns:
      The result graph.
    • getComparisonGraph

      Graph getComparisonGraph(Graph graph)
      Returns that graph that the result should be compared to.
      Parameters:
      graph - The true directed graph, if there is one.
      Returns:
      The comparison graph.
    • getDescription

      String getDescription()
      Returns a short, one-line description of this algorithm. This will be printed in the report.
      Returns:
      This description.
    • getDataType

      DataType getDataType()
      Returns the data type that the search requires, whether continuous, discrete, or mixed.
      Returns:
      This type.
    • getParameters

      List<String> getParameters()
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of String names of parameters.