From af8497af6e9cc6faf44a4e1619c65c874493497e Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Thu, 20 Dec 2012 16:20:38 +0000 Subject: [PATCH] Sort the logical vars of the constraint tree when exporting to graphviz --- packages/CLPBN/horus/ConstraintTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/CLPBN/horus/ConstraintTree.cpp b/packages/CLPBN/horus/ConstraintTree.cpp index 7b3b6bb6f..6dad4c87e 100644 --- a/packages/CLPBN/horus/ConstraintTree.cpp +++ b/packages/CLPBN/horus/ConstraintTree.cpp @@ -527,7 +527,7 @@ ConstraintTree::exportToGraphViz ( } out << "digraph {" << endl; ConstraintTree copy (*this); - // copy.moveToTop (copy.logVarSet_.elements()); + copy.moveToTop (copy.logVarSet_.elements()); CTNodes nodes = getNodesBelow (copy.root_); out << "\"" << copy.root_ << "\"" << " [label=\"R\"]" << endl; for (CTNodes::const_iterator it = ++ nodes.begin();