summaryrefslogtreecommitdiff
path: root/src/smt/smt_options_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/smt_options_handler.h')
-rw-r--r--src/smt/smt_options_handler.h198
1 files changed, 0 insertions, 198 deletions
diff --git a/src/smt/smt_options_handler.h b/src/smt/smt_options_handler.h
deleted file mode 100644
index f8e2ac155..000000000
--- a/src/smt/smt_options_handler.h
+++ /dev/null
@@ -1,198 +0,0 @@
-/********************* */
-/*! \file options_handler_interface.h
- ** \verbatim
- ** Original author: Tim King
- ** Major contributors: none
- ** Minor contributors (to current version): none
- ** This file is part of the CVC4 project.
- ** Copyright (c) 2009-2014 New York University and The University of Iowa
- ** See the file COPYING in the top-level source directory for licensing
- ** information.\endverbatim
- **
- ** \brief Interface for custom handlers and predicates options.
- **
- ** Interface for custom handlers and predicates options.
- **/
-
-#include "cvc4_private.h"
-
-#ifndef __CVC4__SMT__SMT_OPTIONS_HANDLER_H
-#define __CVC4__SMT__SMT_OPTIONS_HANDLER_H
-
-#include <ostream>
-#include <string>
-
-#include "base/modal_exception.h"
-#include "options/arith_heuristic_pivot_rule.h"
-#include "options/arith_propagation_mode.h"
-#include "options/arith_unate_lemma_mode.h"
-#include "options/boolean_term_conversion_mode.h"
-#include "options/bv_bitblast_mode.h"
-#include "options/decision_mode.h"
-#include "options/language.h"
-#include "options/option_exception.h"
-#include "options/options_handler_interface.h"
-#include "options/printer_modes.h"
-#include "options/quantifiers_modes.h"
-#include "options/simplification_mode.h"
-#include "options/theoryof_mode.h"
-#include "options/ufss_mode.h"
-#include "smt/smt_engine.h"
-#include "theory/logic_info.h"
-
-namespace CVC4 {
-namespace smt {
-
-class CVC4_PUBLIC SmtOptionsHandler : public options::OptionsHandler {
-public:
- SmtOptionsHandler(SmtEngine* smt);
- ~SmtOptionsHandler();
-
- // TODO
- // theory/arith/options_handlers.h
- // theory/quantifiers/options_handlers.h
- // theory/bv/options_handlers.h
- // theory/booleans/options_handlers.h
- // theory/uf/options_handlers.h
- // theory/options_handlers.h
- // printer/options_handlers.h
- // decision/options_handlers.h
- // smt/options_handlers.h
- // expr/options_handlers.h
- // main/options_handlers.h
- // options/base_options_handlers.h
-
- // theory/arith/options_handlers.h
- virtual ArithUnateLemmaMode stringToArithUnateLemmaMode(std::string option, std::string optarg) throw(OptionException);
- virtual ArithPropagationMode stringToArithPropagationMode(std::string option, std::string optarg) throw(OptionException);
- virtual ErrorSelectionRule stringToErrorSelectionRule(std::string option, std::string optarg) throw(OptionException);
-
- // theory/quantifiers/options_handlers.h
- virtual theory::quantifiers::InstWhenMode stringToInstWhenMode(std::string option, std::string optarg) throw(OptionException);
- virtual void checkInstWhenMode(std::string option, theory::quantifiers::InstWhenMode mode) throw(OptionException);
- virtual theory::quantifiers::LiteralMatchMode stringToLiteralMatchMode(std::string option, std::string optarg) throw(OptionException);
- virtual void checkLiteralMatchMode(std::string option, theory::quantifiers::LiteralMatchMode mode) throw(OptionException);
- virtual theory::quantifiers::MbqiMode stringToMbqiMode(std::string option, std::string optarg) throw(OptionException);
- virtual void checkMbqiMode(std::string option, theory::quantifiers::MbqiMode mode) throw(OptionException);
- virtual theory::quantifiers::QcfWhenMode stringToQcfWhenMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::QcfMode stringToQcfMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::UserPatMode stringToUserPatMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::TriggerSelMode stringToTriggerSelMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::PrenexQuantMode stringToPrenexQuantMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::CegqiFairMode stringToCegqiFairMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::TermDbMode stringToTermDbMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::IteLiftQuantMode stringToIteLiftQuantMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::SygusInvTemplMode stringToSygusInvTemplMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::quantifiers::MacrosQuantMode stringToMacrosQuantMode(std::string option, std::string optarg) throw(OptionException);
-
- // theory/bv/options_handlers.h
- virtual void abcEnabledBuild(std::string option, bool value) throw(OptionException);
- virtual void abcEnabledBuild(std::string option, std::string value) throw(OptionException);
- virtual theory::bv::BitblastMode stringToBitblastMode(std::string option, std::string optarg) throw(OptionException);
- virtual theory::bv::BvSlicerMode stringToBvSlicerMode(std::string option, std::string optarg) throw(OptionException);
- virtual void setBitblastAig(std::string option, bool arg) throw(OptionException);
-
-
- // theory/booleans/options_handlers.h
- virtual theory::booleans::BooleanTermConversionMode stringToBooleanTermConversionMode(std::string option, std::string optarg) throw(OptionException);
-
- // theory/uf/options_handlers.h
- virtual theory::uf::UfssMode stringToUfssMode(std::string option, std::string optarg) throw(OptionException);
-
- // theory/options_handlers.h
- virtual theory::TheoryOfMode stringToTheoryOfMode(std::string option, std::string optarg);
- virtual void useTheory(std::string option, std::string optarg);
-
-
- // printer/options_handlers.h
- virtual ModelFormatMode stringToModelFormatMode(std::string option, std::string optarg) throw(OptionException);
- virtual InstFormatMode stringToInstFormatMode(std::string option, std::string optarg) throw(OptionException);
-
- // decision/options_handlers.h
- virtual decision::DecisionMode stringToDecisionMode(std::string option, std::string optarg) throw(OptionException);
- virtual decision::DecisionWeightInternal stringToDecisionWeightInternal(std::string option, std::string optarg) throw(OptionException);
-
-
- // smt/options_handlers.h
- virtual void dumpMode(std::string option, std::string optarg);
- virtual LogicInfo* stringToLogicInfo(std::string option, std::string optarg) throw(OptionException);
- virtual SimplificationMode stringToSimplificationMode(std::string option, std::string optarg) throw(OptionException);
- virtual void beforeSearch(std::string option, bool value) throw(ModalException);
- virtual void setProduceAssertions(std::string option, bool value) throw();
- virtual void proofEnabledBuild(std::string option, bool value) throw(OptionException);
- virtual void dumpToFile(std::string option, std::string optarg);
- virtual void setRegularOutputChannel(std::string option, std::string optarg);
- virtual void setDiagnosticOutputChannel(std::string option, std::string optarg);
- virtual std::string checkReplayFilename(std::string option, std::string optarg);
- virtual void statsEnabledBuild(std::string option, bool value) throw(OptionException);
- virtual unsigned long tlimitHandler(std::string option, std::string optarg) throw(OptionException);
- virtual unsigned long tlimitPerHandler(std::string option, std::string optarg) throw(OptionException);
- virtual unsigned long rlimitHandler(std::string option, std::string optarg) throw(OptionException);
- virtual unsigned long rlimitPerHandler(std::string option, std::string optarg) throw(OptionException);
-
- /* expr/options_handlers.h */
- virtual void setDefaultExprDepth(std::string option, int depth);
- virtual void setDefaultDagThresh(std::string option, int dag);
- virtual void setPrintExprTypes(std::string option);
-
- /* main/options_handlers.h */
- virtual void showConfiguration(std::string option);
- virtual void showDebugTags(std::string option);
- virtual void showTraceTags(std::string option);
- virtual void threadN(std::string option);
-
- /* options/base_options_handlers.h */
- virtual void setVerbosity(std::string option, int value) throw(OptionException);
- virtual void increaseVerbosity(std::string option);
- virtual void decreaseVerbosity(std::string option);
- virtual OutputLanguage stringToOutputLanguage(std::string option, std::string optarg) throw(OptionException);
- virtual InputLanguage stringToInputLanguage(std::string option, std::string optarg) throw(OptionException) ;
- virtual void addTraceTag(std::string option, std::string optarg);
- virtual void addDebugTag(std::string option, std::string optarg);
- virtual void setPrintSuccess(std::string option, bool value);
-
- static std::string __cvc4_errno_failreason();
-
-private:
- SmtEngine* d_smtEngine;
-
- /* Helper utilities */
- static std::string suggestTags(char const* const* validTags, std::string inputTag,
- char const* const* additionalTags = NULL);
-
- /* Help strings */
- static const std::string s_bitblastingModeHelp;
- static const std::string s_booleanTermConversionModeHelp;
- static const std::string s_bvSlicerModeHelp;
- static const std::string s_cegqiFairModeHelp;
- static const std::string s_decisionModeHelp;
- static const std::string s_dumpHelp;
- static const std::string s_instFormatHelp ;
- static const std::string s_instWhenHelp;
- static const std::string s_iteLiftQuantHelp;
- static const std::string s_literalMatchHelp;
- static const std::string s_macrosQuantHelp;
- static const std::string s_mbqiModeHelp;
- static const std::string s_modelFormatHelp;
- static const std::string s_prenexQuantModeHelp;
- static const std::string s_qcfModeHelp;
- static const std::string s_qcfWhenModeHelp;
- static const std::string s_simplificationHelp;
- static const std::string s_sygusInvTemplHelp;
- static const std::string s_termDbModeHelp;
- static const std::string s_theoryOfModeHelp;
- static const std::string s_triggerSelModeHelp;
- static const std::string s_ufssModeHelp;
- static const std::string s_userPatModeHelp;
- static const std::string s_errorSelectionRulesHelp;
- static const std::string s_arithPropagationModeHelp;
- static const std::string s_arithUnateLemmasHelp;
-
-
-}; /* class SmtOptionsHandler */
-
-
-}/* CVC4::smt namespace */
-}/* CVC4 namespace */
-
-#endif /* __CVC4__SMT__SMT_OPTIONS_HANDLER_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback