Class SkewE
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.SkewE
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Bootstrapping
public class SkewE
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
SkewE.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns a comparison graph based on the provided true directed graph.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a description of the algorithm used.Returns the list of parameters for the current instance of the class.runSearch(DataModel dataModel, Parameters parameters) Executes the SkewE search algorithm.voidsetExternalGraph(Algorithm algorithm) Sets the external graph to be used by the algorithm.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
SkewEpublic SkewE()Constructor for SkewE. 
- 
SkewEConstructor for SkewE. - Parameters:
- algorithm- a- Algorithmobject
 
 
- 
- 
Method Details- 
runSearchExecutes the SkewE search algorithm.- Parameters:
- dataModel- The data model containing the dataset.
- parameters- The parameters to be used for the search.
- Returns:
- The oriented graph.
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset or the graph is null.
- InterruptedException
 
- 
getComparisonGraphReturns a comparison graph based on the provided true directed graph.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- A comparison graph.
 
- 
getDescriptionReturns a description of the algorithm used. If an initial graph is provided to the algorithm, it appends the initial graph description to the description. The format of the description is "SkewE with initial graph from [initial graph description]".- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the algorithm.
 
- 
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.
 
- 
getParametersReturns the list of parameters for the current instance of the class.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters, including algorithm parameters and additional parameters.
 
- 
setExternalGraphSets the external graph to be used by the algorithm.- Specified by:
- setExternalGraphin interface- TakesExternalGraph
- Parameters:
- algorithm- The algorithm that can take an external graph as input.
- Throws:
- IllegalArgumentException- if the algorithm is null.
 
 
-