30 lines
599 B
C++
30 lines
599 B
C++
#ifndef __ANTHEM__CONTEXT_H
|
|
#define __ANTHEM__CONTEXT_H
|
|
|
|
#include <clingo.hh>
|
|
|
|
#include <anthem/output/Logger.h>
|
|
|
|
namespace anthem
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Context
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
struct Context
|
|
{
|
|
output::Logger logger;
|
|
|
|
std::vector<const Clingo::AST::Term *> headTerms;
|
|
size_t auxiliaryBodyLiteralID = 0;
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
}
|
|
|
|
#endif
|