Class ExternalAlgorithm
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.ExternalAlgorithm
- All Implemented Interfaces:
Algorithm
,HasParameters
,TetradSerializable
,Serializable
Tags an an algorithm that loads up external graphs for inclusion in reports.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract long
getElapsedTime
(DataModel dataSet, Parameters parameters) getElapsedTime.int
getIndex.int
getNumDataModels.getParameters.Getter for the fieldsimulation
.void
Setter for the fieldpath
.void
setSimIndex
(int simIndex) Setter for the fieldsimIndex
.void
setSimulation
(Simulation simulation) Setter for the fieldsimulation
.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.Algorithm
getComparisonGraph, getDataType, getDescription, search
-
Constructor Details
-
ExternalAlgorithm
public ExternalAlgorithm()Constructor for ExternalAlgorithm.
-
-
Method Details
-
setPath
-
setSimIndex
public void setSimIndex(int simIndex) Setter for the field
simIndex
.- Parameters:
simIndex
- a int
-
getSimulation
-
setSimulation
Setter for the field
simulation
.- Parameters:
simulation
- aSimulation
object
-
getElapsedTime
getElapsedTime.
- Parameters:
dataSet
- aDataModel
objectparameters
- aParameters
object- Returns:
- a long
-
getParameters
getParameters.
- Specified by:
getParameters
in interfaceHasParameters
- Returns:
- a
List
object
-
getNumDataModels
public int getNumDataModels()getNumDataModels.
- Returns:
- a int
-
getIndex
-