dlvhex
2.5.0
|
Strong safety checker class. More...
#include <include/dlvhex2/SafetyChecker.h>
Public Member Functions | |
StrongSafetyChecker (const ProgramCtx &ctx) | |
Constructor. | |
virtual | ~StrongSafetyChecker () |
Destructor. | |
virtual void | operator() () const throw (SyntaxError) |
operator() does the safety check. |
Strong safety checker class.
Definition at line 91 of file SafetyChecker.h.
StrongSafetyChecker::StrongSafetyChecker | ( | const ProgramCtx & | ctx | ) |
Constructor.
ctx | See SafetyCheckerBase::ctx. |
Definition at line 566 of file SafetyChecker.cpp.
StrongSafetyChecker::~StrongSafetyChecker | ( | ) | [virtual] |
Destructor.
Definition at line 572 of file SafetyChecker.cpp.
void StrongSafetyChecker::operator() | ( | ) | const throw (SyntaxError) [virtual] |
operator() does the safety check.
Implements SafetyCheckerBase.
Definition at line 597 of file SafetyChecker.cpp.
References Rule::body, ProgramCtx::compgraph, ProgramCtx::config, SafetyCheckerBase::ctx, DBGLOG, ID::doesRuleContainExtatoms(), Configuration::getOption(), Rule::head, ComponentGraph::ComponentInfo::innerEatoms, ComponentGraph::ComponentInfo::innerRules, ID::isAggregateAtom(), ID::isBuiltinAtom(), ID::isExternalAtom(), ID::isNaf(), ID::isOrdinaryAtom(), LOG, LOG_SCOPE, ProgramCtx::registry(), Atom::tuple, OrdinaryAtom::unifiesWith(), and WARNING().