Class Rskew
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.Rskew
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Algorithm(name="RSkew",
           command="r-skew",
           algoType=orient_pairwise,
           dataType=Continuous)
@Bootstrapping
public class Rskew
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
RSkew.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns a comparison graph based on the true directed graph.Retrieves the data type required by the algorithm.Returns a description of the algorithm being used, including the initial graph if available.Retrieves a list of parameters required for the current instance of the class.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm using the provided data model and parameters.voidsetExternalGraph(Algorithm algorithm) Sets the external graph for this algorithm.Methods inherited from class edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithmgetBootstrapGraphs, search
- 
Constructor Details- 
Rskewpublic Rskew()Constructor for Rskew. 
- 
RskewConstructor for Rskew. - Parameters:
- algorithm- a- Algorithmobject
 
 
- 
- 
Method Details- 
runSearchRuns the search algorithm using the provided 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 from the search algorithm
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset or if the search algorithm requires both data and a graph source as inputs
- InterruptedException
 
- 
getComparisonGraphReturns a comparison graph based on the 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 being used, including the initial graph if available.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- A description of the algorithm.
 
- 
getDataTypeRetrieves the data type required by the algorithm.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- The data type required by the algorithm.
 
- 
getParametersRetrieves a list of parameters required for the current instance of the class.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- A list of parameter names.
 
- 
setExternalGraphSets the external graph for this algorithm.- Specified by:
- setExternalGraphin interface- TakesExternalGraph
- Parameters:
- algorithm- The algorithm object representing the external graph.
- Throws:
- IllegalArgumentException- if the algorithm object is null.
 
 
-