smooth circuit
Smooth the circuit independent of the verbosity level, but don't smooth it when the compilation has fail.
This commit is contained in:
parent
8371e395dd
commit
1d732594e2
@ -178,8 +178,10 @@ LiftedCircuit::LiftedCircuit (const LiftedWCNF* lwcnf)
|
||||
compilationSucceeded_ = true;
|
||||
Clauses clauses = Clause::copyClauses (lwcnf->clauses());
|
||||
compile (&root_, clauses);
|
||||
if (Globals::verbosity > 1) {
|
||||
if (compilationSucceeded_) {
|
||||
smoothCircuit (root_);
|
||||
}
|
||||
if (Globals::verbosity > 1) {
|
||||
exportToGraphViz("circuit.smooth.dot");
|
||||
if (compilationSucceeded_) {
|
||||
double wmc = LogAware::exp (getWeightedModelCount());
|
||||
|
Reference in New Issue
Block a user