#ifndef __ANTHEM__RULE_CONTEXT_H #define __ANTHEM__RULE_CONTEXT_H #include #include #include namespace anthem { //////////////////////////////////////////////////////////////////////////////////////////////////// // // RuleContext // //////////////////////////////////////////////////////////////////////////////////////////////////// struct RuleContext { std::vector headTerms; ast::VariableDeclarationPointers freeVariables; // Index of the first auxiliary head variable into the vector freeVariables size_t headVariablesStartIndex = 0; bool isChoiceRule = false; size_t numberOfHeadLiterals = 0; }; //////////////////////////////////////////////////////////////////////////////////////////////////// } #endif