Independence: consider also counted log vars
This commit is contained in:
@@ -655,10 +655,8 @@ LiftedCircuit::isIndependentClause (
|
||||
Clause& clause,
|
||||
Clauses& otherClauses) const
|
||||
{
|
||||
// TODO consider counted log vars
|
||||
TinySet<LiteralId> lidSet = clause.lidSet();
|
||||
for (size_t i = 0; i < otherClauses.size(); i++) {
|
||||
if ((lidSet & otherClauses[i].lidSet()).empty() == false) {
|
||||
if (Clause::independentClauses (clause, otherClauses[i]) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -667,7 +665,6 @@ LiftedCircuit::isIndependentClause (
|
||||
|
||||
|
||||
|
||||
|
||||
LitLvTypesSet
|
||||
LiftedCircuit::smoothCircuit (CircuitNode* node)
|
||||
{
|
||||
|
Reference in New Issue
Block a user