summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_strategy_enumerative.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-04-20 19:47:35 -0500
committerGitHub <noreply@github.com>2020-04-20 19:47:35 -0500
commitad7907adff119a6e25fe3c229663afecb15db7c4 (patch)
tree0cf0c1931db8d4529127806eca03cd014fcb6a42 /src/theory/quantifiers/inst_strategy_enumerative.cpp
parent6255c0356bd78140a9cf075491c1d4608ac27704 (diff)
Make option names related to CEGQI consistent (#4316)
This updates option names to be consistent across uses of counterexample-guided quantifier instantiation (ceqgi), which was previously called "counterexample-based quantifier instantiation" (cbqi), and sygus. Notably, the trace "cegqi-engine" is changed to "sygus-engine" by this commit. The changes were done by these commands in the given directories: src/: for f in $(find -name '.'); do sed -i 's/options::cbqi/options::cegqi/g' $f;sed -i 's/cegqi-engine/sygus-engine/g' $f; done;sed -i 's/"cbqi/"cegqi/g' $f; done test/regress/: for f in $(find -name '.'); do sed -i 's/--cbqi/--cegqi/g' $f; done src/: and test/regress/: for f in $(find -name '.'); do sed -i 's/cegqi-si/sygus-si/g' $f; done test/regress/: for f in $(find -name '.'); do sed -i 's/no-cbqi/no-cegqi/g' $f; done test/regress/: for f in $(find -name '.'); do sed -i 's/:cbqi/:cegqi/g' $f; done And a few minor fixes afterwards. This should be merged close to the time of the next stable release.
Diffstat (limited to 'src/theory/quantifiers/inst_strategy_enumerative.cpp')
-rw-r--r--src/theory/quantifiers/inst_strategy_enumerative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp
index 6c17746ef..9388f2dba 100644
--- a/src/theory/quantifiers/inst_strategy_enumerative.cpp
+++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp
@@ -207,7 +207,7 @@ bool InstStrategyEnum::process(Node f, bool fullEffort, bool isRd)
for (unsigned j = 0; j < ts; j++)
{
Node gt = tdb->getTypeGroundTerm(ftypes[i], j);
- if (!options::cbqi() || !quantifiers::TermUtil::hasInstConstAttr(gt))
+ if (!options::cegqi() || !quantifiers::TermUtil::hasInstConstAttr(gt))
{
Node rep = qy->getRepresentative(gt);
if (reps_found.find(rep) == reps_found.end())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback