Class RskewE
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.RskewE
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Bootstrapping
public class RskewE
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
RSkewE.
- 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 the description of the current algorithm.Retrieves the list of parameters required for the current instance of the class.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm to find the orientation of edges in a graph 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- 
RskewEpublic RskewE()Constructor for RskewE. 
- 
RskewE
 
- 
- 
Method Details- 
runSearchRuns a search algorithm to find the orientation of edges in a graph using the given data model and parameters.- Parameters:
- dataModel- the data model containing the dataset
- parameters- the parameters to be used for the search algorithm
- Returns:
- the graph with oriented edges
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset or if 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:
- The comparison graph.
 
- 
getDescriptionReturns the description of the current algorithm. It returns the description of the algorithm if the external graph is not null (using the getDescription method of the algorithm), otherwise it returns an empty string.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- The description of the current algorithm.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type of the search.
 
- 
getParametersRetrieves the list of parameters required for the current instance of the class.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- A list of parameter names. If the algorithm associated with this instance has parameters defined, those parameters will be included in the list. In addition, the parameter "VERBOSE" will always be included.
 
- 
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
 
 
-