Lkc: show that we exported the circuit to graphviz when debugging

This commit is contained in:
Tiago Gomes 2012-12-13 14:21:16 +00:00
parent 48413deae7
commit 8b996c5dc9

View File

@ -177,11 +177,13 @@ LiftedCircuit::LiftedCircuit (const LiftedWCNF* lwcnf)
smoothCircuit (root_); smoothCircuit (root_);
} }
if (Globals::verbosity > 1) { if (Globals::verbosity > 1) {
exportToGraphViz("circuit.smooth.dot");
if (compilationSucceeded_) { if (compilationSucceeded_) {
double wmc = LogAware::exp (getWeightedModelCount()); double wmc = LogAware::exp (getWeightedModelCount());
cout << "WEIGHTED MODEL COUNT: " << wmc << endl << endl; cout << "Weighted model count = " << wmc << endl << endl;
} }
cout << "Exporting circuit to graphviz (circuit.dot)..." ;
cout << endl << endl;
exportToGraphViz ("circuit.dot");
} }
} }