Class CompareTwoGraphs
java.lang.Object
edu.cmu.tetrad.algcomparison.comparegraphs.CompareTwoGraphs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatistic
(Statistic statistic) Returns a string comparing 'target' to 'reference' using the given comparison method.void
setCompareToType
(CompareTwoGraphs.CompareToType compareTo) void
setComparisontype
(CompareTwoGraphs.ComparisonType comparisontype)
-
Constructor Details
-
CompareTwoGraphs
-
-
Method Details
-
setCompareToType
-
setComparisontype
-
addStatistic
-
getComparisonString
Returns a string comparing 'target' to 'reference' using the given comparison method. If type comparison method is 'stats list', a list of comparison statistics will be printed out using the stats added via the 'addStatistic' method. These stats will not be used for the other comparison methods. The type of graph compared to (DAG, CPDAG, PAG) can be set using the 'setCompareTotype' method.- Returns:
- This string, which can be printed.
- See Also:
-