Class ExternalAlgorithm

java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.ExternalAlgorithm
All Implemented Interfaces:
Algorithm, HasParameters, TetradSerializable, Serializable
Direct Known Subclasses:
ExternalAlgorithmBnlearnMmhc, ExternalAlgorithmBNTPc, ExternalAlgorithmIntersection, ExternalAlgorithmPcalgGes, ExternalAlgorithmPcalgPc, ExternalAlgorithmTetrad

public abstract class ExternalAlgorithm extends Object implements Algorithm
Tags an an algorithm that loads up external graphs for inclusion in reports.
Author:
josephramsey
See Also:
  • Field Details

    • path

      protected String path
    • simulation

      protected Simulation simulation
    • simIndex

      protected int simIndex
    • usedParameters

      protected List<String> usedParameters
  • Constructor Details

    • ExternalAlgorithm

      public ExternalAlgorithm()
  • Method Details

    • setPath

      public void setPath(String path)
    • setSimIndex

      public void setSimIndex(int simIndex)
    • getSimulation

      public Simulation getSimulation()
    • setSimulation

      public void setSimulation(Simulation simulation)
    • getElapsedTime

      public abstract long getElapsedTime(DataModel dataSet, Parameters parameters)
    • getParameters

      public List<String> getParameters()
      Description copied from interface: Algorithm
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface Algorithm
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of String names of parameters.
    • getNumDataModels

      public int getNumDataModels()
    • getIndex

      public int getIndex(DataModel dataSet)