}
void OptionsHandler::notifyBeforeSearch(const std::string& option)
- throw(ModalException)
{
try{
d_options->d_beforeSearchListeners.notify();
d_options->d_rlimitPerListeners.notify();
}
-
-unsigned long OptionsHandler::tlimitHandler(std::string option, std::string optarg) throw(OptionException) {
+unsigned long OptionsHandler::tlimitHandler(std::string option,
+ std::string optarg)
+{
unsigned long ms;
std::istringstream convert(optarg);
if (!(convert >> ms)) {
return ms;
}
-unsigned long OptionsHandler::tlimitPerHandler(std::string option, std::string optarg) throw(OptionException) {
+unsigned long OptionsHandler::tlimitPerHandler(std::string option,
+ std::string optarg)
+{
unsigned long ms;
std::istringstream convert(optarg);
return ms;
}
-unsigned long OptionsHandler::rlimitHandler(std::string option, std::string optarg) throw(OptionException) {
+unsigned long OptionsHandler::rlimitHandler(std::string option,
+ std::string optarg)
+{
unsigned long ms;
std::istringstream convert(optarg);
return ms;
}
-
-unsigned long OptionsHandler::rlimitPerHandler(std::string option, std::string optarg) throw(OptionException) {
+unsigned long OptionsHandler::rlimitPerHandler(std::string option,
+ std::string optarg)
+{
unsigned long ms;
std::istringstream convert(optarg);
The variable order\n\
";
-ArithUnateLemmaMode OptionsHandler::stringToArithUnateLemmaMode(std::string option, std::string optarg) throw(OptionException) {
+ArithUnateLemmaMode OptionsHandler::stringToArithUnateLemmaMode(
+ std::string option, std::string optarg)
+{
if(optarg == "all") {
return ALL_PRESOLVE_LEMMAS;
} else if(optarg == "none") {
}
}
-ArithPropagationMode OptionsHandler::stringToArithPropagationMode(std::string option, std::string optarg) throw(OptionException) {
+ArithPropagationMode OptionsHandler::stringToArithPropagationMode(
+ std::string option, std::string optarg)
+{
if(optarg == "none") {
return NO_PROP;
} else if(optarg == "unate") {
}
}
-ErrorSelectionRule OptionsHandler::stringToErrorSelectionRule(std::string option, std::string optarg) throw(OptionException) {
+ErrorSelectionRule OptionsHandler::stringToErrorSelectionRule(
+ std::string option, std::string optarg)
+{
if(optarg == "min") {
return MINIMUM_AMOUNT;
} else if(optarg == "varord") {
\n\
";
-theory::quantifiers::InstWhenMode OptionsHandler::stringToInstWhenMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::InstWhenMode OptionsHandler::stringToInstWhenMode(
+ std::string option, std::string optarg)
+{
if(optarg == "pre-full") {
return theory::quantifiers::INST_WHEN_PRE_FULL;
} else if(optarg == "full") {
}
}
-void OptionsHandler::checkInstWhenMode(std::string option, theory::quantifiers::InstWhenMode mode) throw(OptionException) {
+void OptionsHandler::checkInstWhenMode(std::string option,
+ theory::quantifiers::InstWhenMode mode)
+{
if(mode == theory::quantifiers::INST_WHEN_PRE_FULL) {
throw OptionException(std::string("Mode pre-full for ") + option + " is not supported in this release.");
}
}
-theory::quantifiers::LiteralMatchMode OptionsHandler::stringToLiteralMatchMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::LiteralMatchMode OptionsHandler::stringToLiteralMatchMode(
+ std::string option, std::string optarg)
+{
if(optarg == "none") {
return theory::quantifiers::LITERAL_MATCH_NONE;
} else if(optarg == "use") {
}
}
-void OptionsHandler::checkLiteralMatchMode(std::string option, theory::quantifiers::LiteralMatchMode mode) throw(OptionException) {
-
+void OptionsHandler::checkLiteralMatchMode(
+ std::string option, theory::quantifiers::LiteralMatchMode mode)
+{
}
-theory::quantifiers::MbqiMode OptionsHandler::stringToMbqiMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::MbqiMode OptionsHandler::stringToMbqiMode(
+ std::string option, std::string optarg)
+{
if(optarg == "gen-ev") {
return theory::quantifiers::MBQI_GEN_EVAL;
} else if(optarg == "none") {
}
}
+void OptionsHandler::checkMbqiMode(std::string option,
+ theory::quantifiers::MbqiMode mode)
+{
+}
-void OptionsHandler::checkMbqiMode(std::string option, theory::quantifiers::MbqiMode mode) throw(OptionException) {}
-
-
-theory::quantifiers::QcfWhenMode OptionsHandler::stringToQcfWhenMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::QcfWhenMode OptionsHandler::stringToQcfWhenMode(
+ std::string option, std::string optarg)
+{
if(optarg == "default") {
return theory::quantifiers::QCF_WHEN_MODE_DEFAULT;
} else if(optarg == "last-call") {
}
}
-theory::quantifiers::QcfMode OptionsHandler::stringToQcfMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::QcfMode OptionsHandler::stringToQcfMode(std::string option,
+ std::string optarg)
+{
if(optarg == "conflict") {
return theory::quantifiers::QCF_CONFLICT_ONLY;
} else if(optarg == "default" || optarg == "prop-eq") {
}
}
-theory::quantifiers::UserPatMode OptionsHandler::stringToUserPatMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::UserPatMode OptionsHandler::stringToUserPatMode(
+ std::string option, std::string optarg)
+{
if(optarg == "use") {
return theory::quantifiers::USER_PAT_MODE_USE;
} else if(optarg == "default" || optarg == "trust") {
}
}
-theory::quantifiers::TriggerSelMode OptionsHandler::stringToTriggerSelMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::TriggerSelMode OptionsHandler::stringToTriggerSelMode(
+ std::string option, std::string optarg)
+{
if(optarg == "default" || optarg == "min") {
return theory::quantifiers::TRIGGER_SEL_MIN;
} else if(optarg == "max") {
}
}
-theory::quantifiers::TriggerActiveSelMode OptionsHandler::stringToTriggerActiveSelMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::TriggerActiveSelMode
+OptionsHandler::stringToTriggerActiveSelMode(std::string option,
+ std::string optarg)
+{
if(optarg == "default" || optarg == "all") {
return theory::quantifiers::TRIGGER_ACTIVE_SEL_ALL;
} else if(optarg == "min") {
}
}
-theory::quantifiers::PrenexQuantMode OptionsHandler::stringToPrenexQuantMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::PrenexQuantMode OptionsHandler::stringToPrenexQuantMode(
+ std::string option, std::string optarg)
+{
if(optarg== "default" || optarg== "simple" ) {
return theory::quantifiers::PRENEX_QUANT_SIMPLE;
} else if(optarg == "none") {
}
}
-theory::SygusFairMode OptionsHandler::stringToSygusFairMode(std::string option, std::string optarg) throw(OptionException) {
+theory::SygusFairMode OptionsHandler::stringToSygusFairMode(std::string option,
+ std::string optarg)
+{
if(optarg == "direct") {
return theory::SYGUS_FAIR_DIRECT;
} else if(optarg == "default" || optarg == "dt-size") {
}
}
-theory::quantifiers::TermDbMode OptionsHandler::stringToTermDbMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::TermDbMode OptionsHandler::stringToTermDbMode(
+ std::string option, std::string optarg)
+{
if(optarg == "all" ) {
return theory::quantifiers::TERM_DB_ALL;
} else if(optarg == "relevant") {
}
}
-theory::quantifiers::IteLiftQuantMode OptionsHandler::stringToIteLiftQuantMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::IteLiftQuantMode OptionsHandler::stringToIteLiftQuantMode(
+ std::string option, std::string optarg)
+{
if(optarg == "all" ) {
return theory::quantifiers::ITE_LIFT_QUANT_MODE_ALL;
} else if(optarg == "simple") {
}
theory::quantifiers::CbqiBvIneqMode OptionsHandler::stringToCbqiBvIneqMode(
- std::string option, std::string optarg) throw(OptionException)
+ std::string option, std::string optarg)
{
if (optarg == "eq-slack")
{
}
}
-theory::quantifiers::CegqiSingleInvMode OptionsHandler::stringToCegqiSingleInvMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::CegqiSingleInvMode
+OptionsHandler::stringToCegqiSingleInvMode(std::string option,
+ std::string optarg)
+{
if(optarg == "none" ) {
return theory::quantifiers::CEGQI_SI_MODE_NONE;
} else if(optarg == "use" || optarg == "default") {
}
}
-theory::quantifiers::SygusInvTemplMode OptionsHandler::stringToSygusInvTemplMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::SygusInvTemplMode
+OptionsHandler::stringToSygusInvTemplMode(std::string option,
+ std::string optarg)
+{
if(optarg == "none" ) {
return theory::quantifiers::SYGUS_INV_TEMPL_MODE_NONE;
} else if(optarg == "pre") {
}
}
-theory::quantifiers::MacrosQuantMode OptionsHandler::stringToMacrosQuantMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::MacrosQuantMode OptionsHandler::stringToMacrosQuantMode(
+ std::string option, std::string optarg)
+{
if(optarg == "all" ) {
return theory::quantifiers::MACROS_QUANT_MODE_ALL;
} else if(optarg == "ground") {
}
}
-theory::quantifiers::QuantDSplitMode OptionsHandler::stringToQuantDSplitMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::QuantDSplitMode OptionsHandler::stringToQuantDSplitMode(
+ std::string option, std::string optarg)
+{
if(optarg == "none" ) {
return theory::quantifiers::QUANT_DSPLIT_MODE_NONE;
} else if(optarg == "default") {
}
}
-theory::quantifiers::QuantRepMode OptionsHandler::stringToQuantRepMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::QuantRepMode OptionsHandler::stringToQuantRepMode(
+ std::string option, std::string optarg)
+{
if(optarg == "none" ) {
return theory::quantifiers::QUANT_REP_MODE_EE;
} else if(optarg == "first" || optarg == "default") {
}
}
-
-theory::quantifiers::FmfBoundMinMode OptionsHandler::stringToFmfBoundMinMode(std::string option, std::string optarg) throw(OptionException) {
+theory::quantifiers::FmfBoundMinMode OptionsHandler::stringToFmfBoundMinMode(
+ std::string option, std::string optarg)
+{
if(optarg == "none" ) {
return theory::quantifiers::FMF_BOUND_MIN_NONE;
} else if(optarg == "int" || optarg == "default") {
}
// theory/bv/options_handlers.h
-void OptionsHandler::abcEnabledBuild(std::string option, bool value) throw(OptionException) {
+void OptionsHandler::abcEnabledBuild(std::string option, bool value)
+{
#ifndef CVC4_USE_ABC
if(value) {
std::stringstream ss;
#endif /* CVC4_USE_ABC */
}
-void OptionsHandler::abcEnabledBuild(std::string option, std::string value) throw(OptionException) {
+void OptionsHandler::abcEnabledBuild(std::string option, std::string value)
+{
#ifndef CVC4_USE_ABC
if(!value.empty()) {
std::stringstream ss;
#endif /* CVC4_USE_ABC */
}
-void OptionsHandler::satSolverEnabledBuild(std::string option,
- bool value) throw(OptionException) {
+void OptionsHandler::satSolverEnabledBuild(std::string option, bool value)
+{
#ifndef CVC4_USE_CRYPTOMINISAT
if(value) {
std::stringstream ss;
}
void OptionsHandler::satSolverEnabledBuild(std::string option,
- std::string value) throw(OptionException) {
+ std::string value)
+{
#ifndef CVC4_USE_CRYPTOMINISAT
if(!value.empty()) {
std::stringstream ss;
";
theory::bv::SatSolverMode OptionsHandler::stringToSatSolver(std::string option,
- std::string optarg) throw(OptionException) {
+ std::string optarg)
+{
if(optarg == "minisat") {
return theory::bv::SAT_SOLVER_MINISAT;
} else if(optarg == "cryptominisat") {
+ Bitblast eagerly to bv SAT solver\n\
";
-theory::bv::BitblastMode OptionsHandler::stringToBitblastMode(std::string option, std::string optarg) throw(OptionException) {
+theory::bv::BitblastMode OptionsHandler::stringToBitblastMode(
+ std::string option, std::string optarg)
+{
if(optarg == "lazy") {
if (!options::bitvectorPropagate.wasSetByUser()) {
options::bitvectorPropagate.set(true);
+ Turn slicer off\n\
";
-theory::bv::BvSlicerMode OptionsHandler::stringToBvSlicerMode(std::string option, std::string optarg) throw(OptionException) {
+theory::bv::BvSlicerMode OptionsHandler::stringToBvSlicerMode(
+ std::string option, std::string optarg)
+{
if(optarg == "auto") {
return theory::bv::BITVECTOR_SLICER_AUTO;
} else if(optarg == "on") {
}
}
-void OptionsHandler::setBitblastAig(std::string option, bool arg) throw(OptionException) {
+void OptionsHandler::setBitblastAig(std::string option, bool arg)
+{
if(arg) {
if(options::bitblastMode.wasSetByUser()) {
if(options::bitblastMode() != theory::bv::BITBLAST_MODE_EAGER) {
\n\
";
-theory::uf::UfssMode OptionsHandler::stringToUfssMode(std::string option, std::string optarg) throw(OptionException) {
+theory::uf::UfssMode OptionsHandler::stringToUfssMode(std::string option,
+ std::string optarg)
+{
if(optarg == "default" || optarg == "full" ) {
return theory::uf::UF_SS_FULL;
} else if(optarg == "no-minimal") {
+ Print instantiations as SZS compliant proof.\n\
";
-ModelFormatMode OptionsHandler::stringToModelFormatMode(std::string option, std::string optarg) throw(OptionException) {
+ModelFormatMode OptionsHandler::stringToModelFormatMode(std::string option,
+ std::string optarg)
+{
if(optarg == "default") {
return MODEL_FORMAT_MODE_DEFAULT;
} else if(optarg == "table") {
}
}
-InstFormatMode OptionsHandler::stringToInstFormatMode(std::string option, std::string optarg) throw(OptionException) {
+InstFormatMode OptionsHandler::stringToInstFormatMode(std::string option,
+ std::string optarg)
+{
if(optarg == "default") {
return INST_FORMAT_MODE_DEFAULT;
} else if(optarg == "szs") {
+ Use the justification heuristic only to stop early, not for decisions\n\
";
-decision::DecisionMode OptionsHandler::stringToDecisionMode(std::string option, std::string optarg) throw(OptionException) {
+decision::DecisionMode OptionsHandler::stringToDecisionMode(std::string option,
+ std::string optarg)
+{
options::decisionStopOnly.set(false);
if(optarg == "internal") {
}
}
-decision::DecisionWeightInternal OptionsHandler::stringToDecisionWeightInternal(std::string option, std::string optarg) throw(OptionException) {
+decision::DecisionWeightInternal OptionsHandler::stringToDecisionWeightInternal(
+ std::string option, std::string optarg)
+{
if(optarg == "off")
return decision::DECISION_WEIGHT_INTERNAL_OFF;
else if(optarg == "max")
+ do not perform nonclausal simplification\n\
";
-
-
-SimplificationMode OptionsHandler::stringToSimplificationMode(std::string option, std::string optarg) throw(OptionException) {
+SimplificationMode OptionsHandler::stringToSimplificationMode(
+ std::string option, std::string optarg)
+{
if(optarg == "batch") {
return SIMPLIFICATION_MODE_BATCH;
} else if(optarg == "none") {
";
SygusSolutionOutMode OptionsHandler::stringToSygusSolutionOutMode(
- std::string option, std::string optarg) throw(OptionException)
+ std::string option, std::string optarg)
{
if (optarg == "status")
{
options::interactiveMode.set(value);
}
-
-void OptionsHandler::proofEnabledBuild(std::string option, bool value) throw(OptionException) {
+void OptionsHandler::proofEnabledBuild(std::string option, bool value)
+{
#ifndef CVC4_PROOF
if(value) {
std::stringstream ss;
d_options->d_setReplayFilenameListeners.notify();
}
-void OptionsHandler::statsEnabledBuild(std::string option, bool value) throw(OptionException) {
+void OptionsHandler::statsEnabledBuild(std::string option, bool value)
+{
#ifndef CVC4_STATISTICS_ON
if(value) {
std::stringstream ss;
throw OptionException(option + " is not a real option by itself. Use e.g. --thread0=\"--random-seed=10 --random-freq=0.02\" --thread1=\"--random-seed=20 --random-freq=0.05\"");
}
-void OptionsHandler::notifyDumpMode(std::string option) throw(OptionException) {
+void OptionsHandler::notifyDumpMode(std::string option)
+{
d_options->d_setDumpModeListeners.notify();
}
Trace.on(optarg);
}
-
-OutputLanguage OptionsHandler::stringToOutputLanguage(std::string option, std::string optarg) throw(OptionException) {
+OutputLanguage OptionsHandler::stringToOutputLanguage(std::string option,
+ std::string optarg)
+{
if(optarg == "help") {
options::languageHelp.set(true);
return language::output::LANG_AUTO;
Unreachable();
}
-InputLanguage OptionsHandler::stringToInputLanguage(std::string option, std::string optarg) throw(OptionException) {
+InputLanguage OptionsHandler::stringToInputLanguage(std::string option,
+ std::string optarg)
+{
if(optarg == "help") {
options::languageHelp.set(true);
return language::input::LANG_AUTO;
}
/* options/base_options_handlers.h */
-void OptionsHandler::setVerbosity(std::string option, int value) throw(OptionException) {
+void OptionsHandler::setVerbosity(std::string option, int value)
+{
if(Configuration::isMuzzledBuild()) {
DebugChannel.setStream(&CVC4::null_os);
TraceChannel.setStream(&CVC4::null_os);
namespace CVC4 {
namespace options {
+/**
+ * Class that responds to command line options being set.
+ *
+ * Most functions can throw an OptionException on failure.
+ */
class OptionsHandler {
public:
OptionsHandler(Options* options);
- virtual ~OptionsHandler() {}
void unsignedGreater0(const std::string& option, unsigned value) {
options::greater(0)(option, value);
options::less_equal(1.0)(option, value);
}
- // DONE
- // decision/options_handlers.h
- // expr/options_handlers.h
- // main/options_handlers.h
- // options/base_options_handlers.h
- // printer/options_handlers.h
- // smt/options_handlers.h
- // theory/options_handlers.h
- // theory/booleans/options_handlers.h
- // theory/uf/options_handlers.h
- // theory/bv/options_handlers.h
- // theory/quantifiers/options_handlers.h
// theory/arith/options_handlers.h
-
-
- // theory/arith/options_handlers.h
- ArithUnateLemmaMode stringToArithUnateLemmaMode(std::string option, std::string optarg) throw(OptionException);
- ArithPropagationMode stringToArithPropagationMode(std::string option, std::string optarg) throw(OptionException);
- ErrorSelectionRule stringToErrorSelectionRule(std::string option, std::string optarg) throw(OptionException);
+ ArithUnateLemmaMode stringToArithUnateLemmaMode(std::string option,
+ std::string optarg);
+ ArithPropagationMode stringToArithPropagationMode(std::string option,
+ std::string optarg);
+ ErrorSelectionRule stringToErrorSelectionRule(std::string option,
+ std::string optarg);
// theory/quantifiers/options_handlers.h
- theory::quantifiers::InstWhenMode stringToInstWhenMode(std::string option, std::string optarg) throw(OptionException);
- void checkInstWhenMode(std::string option, theory::quantifiers::InstWhenMode mode) throw(OptionException);
- theory::quantifiers::LiteralMatchMode stringToLiteralMatchMode(std::string option, std::string optarg) throw(OptionException);
- void checkLiteralMatchMode(std::string option, theory::quantifiers::LiteralMatchMode mode) throw(OptionException);
- theory::quantifiers::MbqiMode stringToMbqiMode(std::string option, std::string optarg) throw(OptionException);
- void checkMbqiMode(std::string option, theory::quantifiers::MbqiMode mode) throw(OptionException);
- theory::quantifiers::QcfWhenMode stringToQcfWhenMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::QcfMode stringToQcfMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::UserPatMode stringToUserPatMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::TriggerSelMode stringToTriggerSelMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::TriggerActiveSelMode stringToTriggerActiveSelMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::PrenexQuantMode stringToPrenexQuantMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::TermDbMode stringToTermDbMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::IteLiftQuantMode stringToIteLiftQuantMode(std::string option, std::string optarg) throw(OptionException);
+ theory::quantifiers::InstWhenMode stringToInstWhenMode(std::string option,
+ std::string optarg);
+ void checkInstWhenMode(std::string option,
+ theory::quantifiers::InstWhenMode mode);
+ theory::quantifiers::LiteralMatchMode stringToLiteralMatchMode(
+ std::string option, std::string optarg);
+ void checkLiteralMatchMode(std::string option,
+ theory::quantifiers::LiteralMatchMode mode);
+ theory::quantifiers::MbqiMode stringToMbqiMode(std::string option,
+ std::string optarg);
+ void checkMbqiMode(std::string option, theory::quantifiers::MbqiMode mode);
+ theory::quantifiers::QcfWhenMode stringToQcfWhenMode(std::string option,
+ std::string optarg);
+ theory::quantifiers::QcfMode stringToQcfMode(std::string option,
+ std::string optarg);
+ theory::quantifiers::UserPatMode stringToUserPatMode(std::string option,
+ std::string optarg);
+ theory::quantifiers::TriggerSelMode stringToTriggerSelMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::TriggerActiveSelMode stringToTriggerActiveSelMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::PrenexQuantMode stringToPrenexQuantMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::TermDbMode stringToTermDbMode(std::string option,
+ std::string optarg);
+ theory::quantifiers::IteLiftQuantMode stringToIteLiftQuantMode(
+ std::string option, std::string optarg);
theory::quantifiers::CbqiBvIneqMode stringToCbqiBvIneqMode(
- std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::CegqiSingleInvMode stringToCegqiSingleInvMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::SygusInvTemplMode stringToSygusInvTemplMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::MacrosQuantMode stringToMacrosQuantMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::QuantDSplitMode stringToQuantDSplitMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::QuantRepMode stringToQuantRepMode(std::string option, std::string optarg) throw(OptionException);
- theory::quantifiers::FmfBoundMinMode stringToFmfBoundMinMode(std::string option, std::string optarg) throw(OptionException);
- theory::SygusFairMode stringToSygusFairMode(std::string option, std::string optarg) throw(OptionException);
+ std::string option, std::string optarg);
+ theory::quantifiers::CegqiSingleInvMode stringToCegqiSingleInvMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::SygusInvTemplMode stringToSygusInvTemplMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::MacrosQuantMode stringToMacrosQuantMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::QuantDSplitMode stringToQuantDSplitMode(
+ std::string option, std::string optarg);
+ theory::quantifiers::QuantRepMode stringToQuantRepMode(std::string option,
+ std::string optarg);
+ theory::quantifiers::FmfBoundMinMode stringToFmfBoundMinMode(
+ std::string option, std::string optarg);
+ theory::SygusFairMode stringToSygusFairMode(std::string option,
+ std::string optarg);
// theory/bv/options_handlers.h
- void abcEnabledBuild(std::string option, bool value) throw(OptionException);
- void abcEnabledBuild(std::string option, std::string value) throw(OptionException);
- void satSolverEnabledBuild(std::string option, bool value) throw(OptionException);
- void satSolverEnabledBuild(std::string option, std::string optarg) throw(OptionException);
+ void abcEnabledBuild(std::string option, bool value);
+ void abcEnabledBuild(std::string option, std::string value);
+ void satSolverEnabledBuild(std::string option, bool value);
+ void satSolverEnabledBuild(std::string option, std::string optarg);
- theory::bv::BitblastMode stringToBitblastMode(std::string option, std::string optarg) throw(OptionException);
- theory::bv::BvSlicerMode stringToBvSlicerMode(std::string option, std::string optarg) throw(OptionException);
- void setBitblastAig(std::string option, bool arg) throw(OptionException);
+ theory::bv::BitblastMode stringToBitblastMode(std::string option,
+ std::string optarg);
+ theory::bv::BvSlicerMode stringToBvSlicerMode(std::string option,
+ std::string optarg);
+ void setBitblastAig(std::string option, bool arg);
+
+ theory::bv::SatSolverMode stringToSatSolver(std::string option,
+ std::string optarg);
- theory::bv::SatSolverMode stringToSatSolver(std::string option, std::string optarg) throw(OptionException);
-
// theory/uf/options_handlers.h
- theory::uf::UfssMode stringToUfssMode(std::string option, std::string optarg) throw(OptionException);
+ theory::uf::UfssMode stringToUfssMode(std::string option, std::string optarg);
// theory/options_handlers.h
theory::TheoryOfMode stringToTheoryOfMode(std::string option, std::string optarg);
// printer/options_handlers.h
- ModelFormatMode stringToModelFormatMode(std::string option, std::string optarg) throw(OptionException);
- InstFormatMode stringToInstFormatMode(std::string option, std::string optarg) throw(OptionException);
+ ModelFormatMode stringToModelFormatMode(std::string option,
+ std::string optarg);
+ InstFormatMode stringToInstFormatMode(std::string option, std::string optarg);
// decision/options_handlers.h
- decision::DecisionMode stringToDecisionMode(std::string option, std::string optarg) throw(OptionException);
- decision::DecisionWeightInternal stringToDecisionWeightInternal(std::string option, std::string optarg) throw(OptionException);
-
+ decision::DecisionMode stringToDecisionMode(std::string option,
+ std::string optarg);
+ decision::DecisionWeightInternal stringToDecisionWeightInternal(
+ std::string option, std::string optarg);
/* smt/options_handlers.h */
void notifyForceLogic(const std::string& option);
- void notifyBeforeSearch(const std::string& option) throw(ModalException);
- void notifyDumpMode(std::string option) throw(OptionException);
- SimplificationMode stringToSimplificationMode(std::string option, std::string optarg) throw(OptionException);
- SygusSolutionOutMode stringToSygusSolutionOutMode(
- std::string option, std::string optarg) throw(OptionException);
+
+ /**
+ * Throws a ModalException if this option is being set after final
+ * initialization.
+ */
+ void notifyBeforeSearch(const std::string& option);
+ void notifyDumpMode(std::string option);
+ SimplificationMode stringToSimplificationMode(std::string option,
+ std::string optarg);
+ SygusSolutionOutMode stringToSygusSolutionOutMode(std::string option,
+ std::string optarg);
void setProduceAssertions(std::string option, bool value);
- void proofEnabledBuild(std::string option, bool value) throw(OptionException);
+ void proofEnabledBuild(std::string option, bool value);
void LFSCEnabledBuild(std::string option, bool value);
void notifyDumpToFile(std::string option);
void notifySetRegularOutputChannel(std::string option);
std::string checkReplayFilename(std::string option, std::string optarg);
void notifySetReplayLogFilename(std::string option);
- void statsEnabledBuild(std::string option, bool value) throw(OptionException);
+ void statsEnabledBuild(std::string option, bool value);
- unsigned long tlimitHandler(std::string option, std::string optarg) throw(OptionException);
- unsigned long tlimitPerHandler(std::string option, std::string optarg) throw(OptionException);
- unsigned long rlimitHandler(std::string option, std::string optarg) throw(OptionException);
- unsigned long rlimitPerHandler(std::string option, std::string optarg) throw(OptionException);
+ unsigned long tlimitHandler(std::string option, std::string optarg);
+ unsigned long tlimitPerHandler(std::string option, std::string optarg);
+ unsigned long rlimitHandler(std::string option, std::string optarg);
+ unsigned long rlimitPerHandler(std::string option, std::string optarg);
void notifyTlimit(const std::string& option);
void notifyTlimitPer(const std::string& option);
void threadN(std::string option);
/* options/base_options_handlers.h */
- void setVerbosity(std::string option, int value) throw(OptionException);
+ void setVerbosity(std::string option, int value);
void increaseVerbosity(std::string option);
void decreaseVerbosity(std::string option);
- OutputLanguage stringToOutputLanguage(std::string option, std::string optarg) throw(OptionException);
- InputLanguage stringToInputLanguage(std::string option, std::string optarg) throw(OptionException);
+ OutputLanguage stringToOutputLanguage(std::string option, std::string optarg);
+ InputLanguage stringToInputLanguage(std::string option, std::string optarg);
void enableTraceTag(std::string option, std::string optarg);
void enableDebugTag(std::string option, std::string optarg);
void notifyPrintSuccess(std::string option);