Class SingleGraphAlg
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.oracle.cpdag.SingleGraphAlg
- All Implemented Interfaces:
- Algorithm,- HasKnowledge,- HasParameters,- TetradSerializable,- Serializable
PC.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetComparisonGraph(Graph graph) Returns that graph that the result should be compared to.Returns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short, one-line description of this algorithm.Returns a knowledge object.Returns the list of parameter names that are used.search(DataModel dataSet, Parameters parameters) Runs the search.voidsetKnowledge(Knowledge knowledge) Sets a knowledge object.
- 
Constructor Details- 
SingleGraphAlgConstructor for SingleGraphAlg. - Parameters:
- graph- a- Graphobject
 
 
- 
- 
Method Details- 
searchRuns the search.
- 
getComparisonGraphReturns that graph that the result should be compared to.- Specified by:
- getComparisonGraphin interface- Algorithm
- Parameters:
- graph- The true directed graph, if there is one.
- Returns:
- The comparison graph.
 
- 
getDescriptionReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
- getDescriptionin interface- Algorithm
- Returns:
- This description.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- Algorithm
- Returns:
- This type.
 
- 
getParametersReturns the list of parameter names that are used. These are looked up in ParamMap, so if they're not- Specified by:
- getParametersin interface- HasParameters
- Returns:
- Returns the list of parameter names that are used. These are looked up in ParamMap, so if they're not already defined they'll need to be defined there.
 
- 
getKnowledgeReturns a knowledge object.- Specified by:
- getKnowledgein interface- HasKnowledge
- Returns:
- a knowledge object.
 
- 
setKnowledgeSets a knowledge object.- Specified by:
- setKnowledgein interface- HasKnowledge
- Parameters:
- knowledge- a knowledge object.
 
 
-