Class FgesConcatenated
java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.multi.FgesConcatenated
- All Implemented Interfaces:
Algorithm,MultiDataSetAlgorithm,HasKnowledge,HasParameters,TetradSerializable,Serializable
@Bootstrapping
public class FgesConcatenated
extends Object
implements MultiDataSetAlgorithm, HasKnowledge
Requires that the parameter 'randomSelectionSize' be set to indicate how many
datasets should be taken at a time (randomly). This cannot given multiple
values.
- Author:
- jdramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFgesConcatenated(ScoreWrapper score) FgesConcatenated(ScoreWrapper score, boolean compareToTrue) FgesConcatenated(ScoreWrapper score, Algorithm externalGraph) -
Method Summary
Modifier 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 the parameters that this search uses.search(DataModel dataSet, Parameters parameters) Runs the search.search(List<DataModel> dataModels, Parameters parameters) Runs the search.voidsetCompareToTrue(boolean compareToTrue) voidsetKnowledge(Knowledge knowledge) Sets a knowledge object.voidsetScoreWrapper(ScoreWrapper score)
-
Constructor Details
-
FgesConcatenated
-
FgesConcatenated
-
FgesConcatenated
-
-
Method Details
-
search
Description copied from interface:MultiDataSetAlgorithmRuns the search.- Specified by:
searchin interfaceMultiDataSetAlgorithm- Parameters:
dataModels- The data set to run to the search on.parameters- The paramters of the search.- Returns:
- The result graph.
-
setScoreWrapper
- Specified by:
setScoreWrapperin interfaceMultiDataSetAlgorithm
-
search
Description copied from interface:AlgorithmRuns the search. -
getComparisonGraph
Description copied from interface:AlgorithmReturns that graph that the result should be compared to.- Specified by:
getComparisonGraphin interfaceAlgorithm- Parameters:
graph- The true directed graph, if there is one.- Returns:
- The comparison graph.
-
getDescription
Description copied from interface:AlgorithmReturns a short, one-line description of this algorithm. This will be printed in the report.- Specified by:
getDescriptionin interfaceAlgorithm- Returns:
- This description.
-
getDataType
Description copied from interface:AlgorithmReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceAlgorithm- Returns:
- This type.
-
getParameters
Description copied from interface:AlgorithmReturns the parameters that this search uses.- Specified by:
getParametersin interfaceAlgorithm- Specified by:
getParametersin interfaceHasParameters- Returns:
- A list of String names of parameters.
-
getKnowledge
- Specified by:
getKnowledgein interfaceHasKnowledge- Returns:
- a knowledge object.
-
setKnowledge
Description copied from interface:HasKnowledgeSets a knowledge object.- Specified by:
setKnowledgein interfaceHasKnowledge
-
setCompareToTrue
public void setCompareToTrue(boolean compareToTrue) - Parameters:
compareToTrue- true if the result should be compared to the true graph, false if to the CPDAG of the true graph.
-