SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
As described in sec::modules, each module has a settings template parameter.
These settings are considered at compile time. For certain purposes, it is unhandy to recompile SMT-RAT for every parameter. For this, module parameters can be set
--module.parameter key1=value1 --module.parameter key2=value2 ...
orset-option
command of SMT-LIB: (set-option :key "value")
.These parameters can be accessed (most appropriately in a settings object of a module) via int my_setting = settings_module().get("my_module.my_setting", 2)
or std::string my_setting = settings_module().get("my_module.my_setting", "default_value")
. Note that the second parameter is the default value also specifying the type of the setting to which it is parsed.