2016-11-23 04:41:38 +01:00
|
|
|
#ifndef __ANTHEM__CONTEXT_H
|
|
|
|
#define __ANTHEM__CONTEXT_H
|
|
|
|
|
2016-11-24 00:52:28 +01:00
|
|
|
#include <clingo.hh>
|
|
|
|
|
|
|
|
#include <anthem/output/Logger.h>
|
|
|
|
|
2016-11-23 04:41:38 +01:00
|
|
|
namespace anthem
|
|
|
|
{
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Context
|
|
|
|
//
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
struct Context
|
|
|
|
{
|
2016-11-24 00:52:28 +01:00
|
|
|
output::Logger logger;
|
|
|
|
|
|
|
|
std::vector<const Clingo::AST::Term *> headTerms;
|
2016-11-24 15:23:38 +01:00
|
|
|
size_t auxiliaryBodyLiteralID = 1;
|
2016-11-23 04:41:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|