diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-03-31 14:36:25 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-03-31 14:36:25 -0500 |
commit | ccc9cd5aad5248b4a2c86b617d76bc98063a7ea2 (patch) | |
tree | cd710b7174eb3724d1b08c3261f69c7e4745a4d0 /src/options | |
parent | 2abcda1cfcb0c6388c00d65f8a6b3e63de9d96df (diff) |
Improvements to trigger selection, min triggers by default. Optimizations for E-matching. Minor work to equality infer.
Diffstat (limited to 'src/options')
-rw-r--r-- | src/options/options_handler.cpp | 4 | ||||
-rw-r--r-- | src/options/quantifiers_modes.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/options/options_handler.cpp b/src/options/options_handler.cpp index 152e22f14..8a5bacf91 100644 --- a/src/options/options_handler.cpp +++ b/src/options/options_handler.cpp @@ -602,12 +602,14 @@ theory::quantifiers::UserPatMode OptionsHandler::stringToUserPatMode(std::string } theory::quantifiers::TriggerSelMode OptionsHandler::stringToTriggerSelMode(std::string option, std::string optarg) throw(OptionException) { - if(optarg == "default" || optarg == "all" ) { + if(optarg == "default") { return theory::quantifiers::TRIGGER_SEL_DEFAULT; } else if(optarg == "min") { return theory::quantifiers::TRIGGER_SEL_MIN; } else if(optarg == "max") { return theory::quantifiers::TRIGGER_SEL_MAX; + } else if(optarg == "all") { + return theory::quantifiers::TRIGGER_SEL_ALL; } else if(optarg == "help") { puts(s_triggerSelModeHelp.c_str()); exit(1); diff --git a/src/options/quantifiers_modes.h b/src/options/quantifiers_modes.h index 8aa3756cc..86a783008 100644 --- a/src/options/quantifiers_modes.h +++ b/src/options/quantifiers_modes.h @@ -107,6 +107,8 @@ enum TriggerSelMode { TRIGGER_SEL_MIN, /** only consider maximal terms for triggers */ TRIGGER_SEL_MAX, + /** consider all terms for triggers */ + TRIGGER_SEL_ALL, }; enum CVC4_PUBLIC PrenexQuantMode { |