summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_strategy_enumerative.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-11-14 19:06:49 -0600
committerGitHub <noreply@github.com>2017-11-14 19:06:49 -0600
commit85df7998e4362e0a9c796146d07d7b9e91045a31 (patch)
tree0ab2e33e807651386cd041257c1abff2bb769057 /src/theory/quantifiers/inst_strategy_enumerative.cpp
parent748e20967ae7698f6b545a5128633865701aeb2d (diff)
Make QEffort an enum (#1366)
* Make QEffort an enum. * Format * Minor * Fix
Diffstat (limited to 'src/theory/quantifiers/inst_strategy_enumerative.cpp')
-rw-r--r--src/theory/quantifiers/inst_strategy_enumerative.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp
index 3bd1ac495..edd15fa2c 100644
--- a/src/theory/quantifiers/inst_strategy_enumerative.cpp
+++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp
@@ -55,19 +55,18 @@ bool InstStrategyEnum::needsCheck(Theory::Effort e)
}
void InstStrategyEnum::reset_round(Theory::Effort e) {}
-void InstStrategyEnum::check(Theory::Effort e, unsigned quant_e)
+void InstStrategyEnum::check(Theory::Effort e, QEffort quant_e)
{
bool doCheck = false;
bool fullEffort = false;
if (options::fullSaturateInterleave())
{
// we only add when interleaved with other strategies
- doCheck = quant_e == QuantifiersEngine::QEFFORT_STANDARD
- && d_quantEngine->hasAddedLemma();
+ doCheck = quant_e == QEFFORT_STANDARD && d_quantEngine->hasAddedLemma();
}
if (options::fullSaturateQuant() && !doCheck)
{
- doCheck = quant_e == QuantifiersEngine::QEFFORT_LAST_CALL;
+ doCheck = quant_e == QEFFORT_LAST_CALL;
fullEffort = !d_quantEngine->hasAddedLemma();
}
if (doCheck)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback