#ifndef __ANTHEM__CONTEXT_H #define __ANTHEM__CONTEXT_H #include #include namespace anthem { //////////////////////////////////////////////////////////////////////////////////////////////////// // // Context // //////////////////////////////////////////////////////////////////////////////////////////////////// struct Context { void reset() { headTerms.clear(); isChoiceRule = false; numberOfHeadLiterals = 0; auxiliaryBodyVariableID = 1; } output::Logger logger; std::vector headTerms; bool isChoiceRule = false; size_t numberOfHeadLiterals = 0; size_t auxiliaryBodyVariableID = 1; bool simplify = false; }; //////////////////////////////////////////////////////////////////////////////////////////////////// } #endif