3 #include <carl-common/memory/Singleton.h>
4 #include <carl-settings/Settings.h>
41 std::function<std::string(
const std::string&)>
get_option;
45 :
has_option([](const std::string&) {
return false; }),
get_option([](
const std::string&) {
return ""; }) {
48 void set_callbacks(std::function<
bool(
const std::string&)> callback_has, std::function<std::string(
const std::string&)> callback_get) {
54 T
get(
const std::string& key, T default_value)
const {
56 if constexpr ((std::is_same_v<T, std::string>)) {
66 std::string p_key = param.substr(0, param.find(
"="));
68 if constexpr ((std::is_same_v<T, std::string>)) {
69 return param.substr(param.find(
"=") + 1);
71 std::istringstream iss(param.substr(param.find(
"=") + 1));
84 friend carl::Singleton<Settings>;
88 get<CoreSettings>(
"core");
89 get<SolverSettings>(
"solver");
90 get<ModuleSettings>(
"module");
97 return settings::Settings::getInstance();
Class to create the formulas for axioms.
const auto & settings_module()
const settings::Settings & Settings()
const auto & settings_core()
const auto & settings_solver()
T get(const std::string &key, T default_value) const
void set_callbacks(std::function< bool(const std::string &)> callback_has, std::function< std::string(const std::string &)> callback_get)
std::vector< std::string > parameters
std::function< bool(const std::string &)> has_option
std::function< std::string(const std::string &)> get_option
std::string preprocess_output_file
bool convert_to_cnf_dimacs
bool convert_to_cnf_smtlib