8 inline auto&
validation_get(
const std::string& channel,
const std::string& file,
int line) {
12 #ifdef SMTRAT_DEVOPTION_Validation
13 #define SMTRAT_VALIDATION_INIT(channel, variable) auto& variable = smtrat::validation::get(channel, __FILE__, __LINE__)
14 #define SMTRAT_VALIDATION_INIT_STATIC(channel, variable) static auto& variable = smtrat::validation::get(channel, __FILE__, __LINE__)
15 #define SMTRAT_VALIDATION_ADD_TO(variable, name, formula, consistent) { \
16 if (settings_validation().channel_active(variable.channel())) { \
17 auto id = variable.add(formula, consistent, name); \
18 SMTRAT_LOG_DEBUG(variable.channel(), "Assumption " << variable.identifier() << " #" << id << " (" << name << "): " << formula); \
21 #define SMTRAT_VALIDATION_ADD(channel, name, formula, consistent) { SMTRAT_VALIDATION_INIT_STATIC(channel,tmp); SMTRAT_VALIDATION_ADD_TO(tmp,name,formula,consistent); }
23 #define SMTRAT_VALIDATION_INIT(channel, variable)
24 #define SMTRAT_VALIDATION_INIT_STATIC(channel, variable)
25 #define SMTRAT_VALIDATION_ADD_TO(variable, name, formula, consistent)
26 #define SMTRAT_VALIDATION_ADD(channel, name, formula, consistent)
auto & get(const std::string &channel, const std::string &file, int line)
Class to create the formulas for axioms.
auto & validation_get(const std::string &channel, const std::string &file, int line)