Interface Algorithm

All Superinterfaces:
HasParameters, Serializable, TetradSerializable
All Known Subinterfaces:
MultiDataSetAlgorithm
All Known Implementing Classes:
AbstractBootstrapAlgorithm, Boss, BossFci, BossPod, Cam, Ccd, Cdnod, Cfci, Cpc, Cstar, Dagma, DirectLingam, DmFcit, DmFciT2, DmPc, Eb, ExternalAlgorithm, FactorAnalysis, Fas, Fask, FaskConcatenated, FaskLofsConcatenated, FaskOrig, FaskPw, FaskVote, FasLofs, Fci, FciCyclicPw, FciIod, FciMax, Fcit, Fges, FgesConcatenated, FgesFci, FgesMb, FirstInflection, Gfci, Gin, Glasso, Grasp, GraspFci, IcaLingam, IcaLingD, Images, ImagesBoss, IsFges, IsGfci, MimbuildBollen, MimbuildPca, PagSampleRfci, Pc, Pcd, PcMax, PcMb, Pcmci, R1, R2, R3, RestrictedBoss, Rfci, RfciBsc, Rskew, RskewE, SingleGraphAlg, Skew, SkewE, Sp, SpFci, StabilitySelection, StARS, Tanh, 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.