dlvhex
2.5.0
|
#include <include/dlvhex2/QueryPlugin.h>
Public Types | |
enum | Mode { DEFAULT, BRAVE, CAUTIOUS } |
Available reasoning modes. More... | |
Public Member Functions | |
CtxData () | |
virtual | ~CtxData () |
Data Fields | |
bool | enabled |
Stores if plugin is enabled. | |
Mode | mode |
Selected reasoning mode. | |
bool | ground |
True for ground queries, false for nonground. | |
Tuple | query |
The query (contains body literals). | |
ID | varAuxPred |
Auxiliary predicate symbols for nonground query evaluation. | |
ID | novarAuxPred |
Auxiliary predicate symbols for ground query evaluation. | |
Tuple | variableIDs |
IDs of variables as they occur in auxiliary nonground predicate. | |
bool | allWitnesses |
Whether to display all witnesses for ground queries. |
Definition at line 48 of file QueryPlugin.h.
Available reasoning modes.
at the moment DEFAULT triggers an error, so the user _must_ choose a reasoning mode.
Definition at line 59 of file QueryPlugin.h.
Definition at line 59 of file QueryPlugin.cpp.
virtual QueryPlugin::CtxData::~CtxData | ( | ) | [inline, virtual] |
Definition at line 92 of file QueryPlugin.h.
Whether to display all witnesses for ground queries.
Positive witnesses for brave and negative for cautious reasoning.
Definition at line 89 of file QueryPlugin.h.
Referenced by sem< QueryParserModuleSemantics::queryBody >::operator()(), QueryPlugin::processOptions(), and QueryPlugin::setupProgramCtx().
Stores if plugin is enabled.
Definition at line 53 of file QueryPlugin.h.
Referenced by QueryPlugin::createParserModules(), QueryPlugin::createRewriter(), QueryPlugin::processOptions(), and QueryPlugin::setupProgramCtx().
True for ground queries, false for nonground.
Definition at line 71 of file QueryPlugin.h.
Referenced by sem< QueryParserModuleSemantics::queryBody >::operator()(), and QueryPlugin::setupProgramCtx().
Selected reasoning mode.
Definition at line 68 of file QueryPlugin.h.
Referenced by QueryPlugin::processOptions(), and QueryPlugin::setupProgramCtx().
Auxiliary predicate symbols for ground query evaluation.
Definition at line 81 of file QueryPlugin.h.
The query (contains body literals).
This is not directly stored into IDB or EDB.
Definition at line 76 of file QueryPlugin.h.
Referenced by sem< QueryParserModuleSemantics::queryBody >::operator()(), and QueryPlugin::setupProgramCtx().
Auxiliary predicate symbols for nonground query evaluation.
Definition at line 79 of file QueryPlugin.h.
IDs of variables as they occur in auxiliary nonground predicate.
Definition at line 84 of file QueryPlugin.h.