Class Eb
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.AbstractBootstrapAlgorithm
edu.cmu.tetrad.algcomparison.algorithm.pairwise.Eb
- All Implemented Interfaces:
- Algorithm,- ReturnsBootstrapGraphs,- HasParameters,- TakesExternalGraph,- TetradSerializable,- Serializable
@Bootstrapping
public class Eb
extends AbstractBootstrapAlgorithm
implements Algorithm, TakesExternalGraph
EB.
- 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, if there is one.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a description of the algorithm's orientation method.Returns the list of parameters that are used by the class.runSearch(DataModel dataModel, Parameters parameters) Runs a search algorithm to orient the edges in a graph using the given data 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- 
Ebpublic Eb()Constructor for Eb. 
- 
EbConstructor for Eb. - Parameters:
- algorithm- a- Algorithmobject
 
 
- 
- 
Method Details- 
runSearchRuns a search algorithm to orient the edges in a graph using the given data and parameters.- Parameters:
- dataModel- the data model containing the dataset for the search algorithm
- parameters- the parameters for the search algorithm
- Returns:
- the graph with oriented edges
- Throws:
- IllegalArgumentException- if the data model is not a continuous dataset or if the algorithm is null
- InterruptedException
 
- 
getComparisonGraphReturns a comparison graph based on the 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 algorithm's orientation method.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- A description of the orientation 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 list of parameters that are used by the class. These parameters include the parameters defined in the algorithm used by the class and the VERBOSE parameter.- Specified by:
- getParametersin interface- HasParameters
- Returns:
- The list of parameters used by the class.
 
- 
setExternalGraphSets the external graph to be used by the algorithm.- Specified by:
- setExternalGraphin interface- TakesExternalGraph
- Parameters:
- algorithm- The external graph algorithm to set.
- Throws:
- IllegalArgumentException- If the algorithm is null.
 
 
-