Class Tanh
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.Tanh
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Bootstrapping
public class Tanh
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
Tanh.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns a comparison graph for the given true directed graph, if there is one.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a description of the method.Returns the parameters required by the current algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm using the given data model and parameters.voidsetExternalGraph(Algorithm algorithm) Sets the external graph for the algorithm.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
TanhConstructor for Tanh. - Parameters:
- algorithm- a- Algorithmobject
 
 
- 
- 
Method Details- 
runSearchRuns the search algorithm using the given data model and parameters.- Parameters:
- dataModel- the data model to be used for the search
- parameters- the parameters for the search algorithm
- Returns:
- the resulting graph after running the search algorithm
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset
- InterruptedException
 
- 
getComparisonGraphReturns a comparison graph for the given true directed graph, if there is one.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns a description of the method.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- A description of the method.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the search algorithm.
 
- 
getParametersReturns the parameters required by the current algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- a List containing the parameter names
 
- 
setExternalGraphSets the external graph for the algorithm.- Specified by:
- setExternalGraphin interface- TakesExternalGraph
- Parameters:
- algorithm- The algorithm object representing the external graph.
- Throws:
- IllegalArgumentException- if the algorithm is null.
 
 
-