Interface Algorithm

All Superinterfaces:
HasParameters, Serializable, TetradSerializable
All Known Subinterfaces:
MultiDataSetAlgorithm
All Known Implementing Classes:
AbstractBootstrapAlgorithm, AbstractMultiBootstrapAlgorithm, Bfci, BfciBryan, BfciBryanScore, BfciC, BfciD, BfciScoreCheck, Boss, BossCcd, BossCdnodScore, BossFci, BossPod, BossTopK, BossTrekMimic, Cam, Ccd, Cdnod, CdnodBoss, CdnodPag, Cfci, Cpc, Cpw, Cstar, Dagma, DirectLingam, Dm, DmFcit, DmPc, ExternalAlgorithm, FactorAnalysis, Fas, Fask, FaskConcatenated, FaskOrig, FaskPool, FaskPw, FaskVote, Fci, FciCyclicPw, FciIod, FciMax, Fcit, FcitMagMarkov, FcitMarkov, FcitSl, FcitSlScoreCheck, FcitZm, Fges, FgesConcatenated, FgesMb, FirstInflection, Flop, Gfci, GfciOld, Glasso, Gmas, Grasp, GraspFci, IcaLingam, IcaLingD, Icd, Images, ImagesBoss, ImagesFges, Ion, IsFges, IsGfci, Lingam, LingD, LvBossExperimental, LvHeuristic, MimbuildBollen, MimbuildPca, PagSampleRfci, PagSamplingRfci, Pc, PcAr, Pcd, PcMax, PcMb, Pcmci, PythonGin, R1, R2, R3, RestrictedBoss, Rfci, RfciBsc, Rlcd, Rskew, RskewE, SingleGraphAlg, Skew, SkewE, Sp, SpFci, StabilitySelection, StARS, Tanh, Tgin, TrekMimic, TwoStep

public interface Algorithm extends HasParameters, TetradSerializable
Interface that algorithm must implement.
Version:
$Id: $Id
Author:
josephramsey
  • Method Details

    • search

      Graph search(DataModel dataSet, Parameters parameters) throws InterruptedException
      Runs the search.
      Parameters:
      dataSet - The data set to run to the search on.
      parameters - The paramters of the search.
      Returns:
      The result graph.
      Throws:
      InterruptedException - if any.
    • 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.