diff options
Diffstat (limited to 'libs/ezsat/ezsat.h')
-rw-r--r-- | libs/ezsat/ezsat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ezsat/ezsat.h b/libs/ezsat/ezsat.h index 29b7aca71..ea873a859 100644 --- a/libs/ezsat/ezsat.h +++ b/libs/ezsat/ezsat.h @@ -55,7 +55,7 @@ private: std::vector<std::pair<OpId, std::vector<int>>> expressions; bool cnfConsumed; - int cnfVariableCount; + int cnfVariableCount, cnfClausesCount; std::vector<int> cnfLiteralVariables, cnfExpressionVariables; std::vector<std::vector<int>> cnfClauses; std::set<int> cnfAssumptions; @@ -137,6 +137,7 @@ public: int bound(int id) const; int numCnfVariables() const { return cnfVariableCount; } + int numCnfClauses() const { return cnfClausesCount; } const std::vector<std::vector<int>> &cnf() const { return cnfClauses; } void consumeCnf(); |