Class ExternalAlgorithm

java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.ExternalAlgorithm
All Implemented Interfaces:
Algorithm, HasParameters, TetradSerializable, Serializable

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

    • ExternalAlgorithm

      public ExternalAlgorithm()

      Constructor for ExternalAlgorithm.

  • Method Details

    • setPath

      public void setPath(String path)

      Setter for the field path.

      Parameters:
      path - a String object
    • setSimIndex

      public void setSimIndex(int simIndex)

      Setter for the field simIndex.

      Parameters:
      simIndex - a int
    • getSimulation

      public Simulation getSimulation()

      Getter for the field simulation.

      Returns:
      a Simulation object
    • setSimulation

      public void setSimulation(Simulation simulation)

      Setter for the field simulation.

      Parameters:
      simulation - a Simulation object
    • getElapsedTime

      public abstract long getElapsedTime(DataModel dataSet, Parameters parameters)

      getElapsedTime.

      Parameters:
      dataSet - a DataModel object
      parameters - a Parameters object
      Returns:
      a long
    • getParameters

      public List<String> getParameters()

      getParameters.

      Specified by:
      getParameters in interface HasParameters
      Returns:
      a List object
    • getNumDataModels

      public int getNumDataModels()

      getNumDataModels.

      Returns:
      a int
    • getIndex

      public int getIndex(DataModel dataSet)

      getIndex.

      Parameters:
      dataSet - a DataModel object
      Returns:
      a int