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 longgetElapsedTime(DataModel dataSet, Parameters parameters) getElapsedTime.intgetIndex.intgetNumDataModels.getParameters.Getter for the fieldsimulation.voidSetter for the fieldpath.voidsetSimIndex(int simIndex) Setter for the fieldsimIndex.voidsetSimulation(Simulation simulation) Setter for the fieldsimulation.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.algcomparison.algorithm.Algorithm
getComparisonGraph, getDataType, getDescription, search
-
Constructor Details
-
ExternalAlgorithm
public ExternalAlgorithm()Constructor for ExternalAlgorithm.
-
-
Method Details
-
setPath
Setter for the field
path.- Parameters:
path- aStringobject
-
setSimIndex
public void setSimIndex(int simIndex) Setter for the field
simIndex.- Parameters:
simIndex- a int
-
getSimulation
Getter for the field
simulation.- Returns:
- a
Simulationobject
-
setSimulation
Setter for the field
simulation.- Parameters:
simulation- aSimulationobject
-
getElapsedTime
getElapsedTime.
- Parameters:
dataSet- aDataModelobjectparameters- aParametersobject- Returns:
- a long
-
getParameters
getParameters.
- Specified by:
getParametersin interfaceHasParameters- Returns:
- a
Listobject
-
getNumDataModels
public int getNumDataModels()getNumDataModels.
- Returns:
- a int
-
getIndex
getIndex.
- Parameters:
dataSet- aDataModelobject- Returns:
- a int
-