Class FaskPw
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.FaskPw
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Algorithm(name="FASK-PW",
           command="fask-pw",
           algoType=orient_pairwise,
           dataType=Continuous)
@Bootstrapping
public class FaskPw
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
FASK-PW (pairwise).
- 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.Retrieves the data type of the dataset.Returns a description of the RSkew algorithm.Retrieves the list of parameters required for the algorithm.runSearch(DataModel dataModel, Parameters parameters) Runs the search algorithm using the given data model and parameters.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- 
FaskPwpublic FaskPw()Constructor for FaskPw. 
- 
FaskPwConstructor for FaskPw. - 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 to be used for the search
- Returns:
- the resulting graph
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset or if the algorithm requires both data and a graph source as inputs
- 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 based on the provided true directed graph.
 
- 
getDescriptionReturns a description of the RSkew algorithm.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- A description of the RSkew algorithm.
 
- 
getDataTypeRetrieves the data type of the dataset.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- the data type of the dataset
 
- 
getParametersRetrieves the list of parameters required for the algorithm.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- a list of parameter names that are used in the algorithm.
 
- 
setExternalGraphSets the external graph to be used by the algorithm.- Specified by:
- setExternalGraphin interface- TakesExternalGraph
- Parameters:
- algorithm- the algorithm object representing the external graph
- Throws:
- IllegalArgumentException- if the algorithm parameter is null
 
 
-