dlvhex
2.5.0
|
Never evaluates when the heuristics is asked (but the reasoner will still do this whenever absolutely necessary). More...
#include <include/dlvhex2/ExternalAtomEvaluationHeuristics.h>
Public Member Functions | |
ExternalAtomEvaluationHeuristicsNever (RegistryPtr reg) | |
virtual bool | doEvaluate (const ExternalAtom &eatom, InterpretationConstPtr eatomMask, InterpretationConstPtr programMask, InterpretationConstPtr partialAssignment, InterpretationConstPtr assigned, InterpretationConstPtr changed) |
Decides if the reasoner shall evaluate a given external atom at this point. |
Never evaluates when the heuristics is asked (but the reasoner will still do this whenever absolutely necessary).
Definition at line 139 of file ExternalAtomEvaluationHeuristics.h.
Definition at line 153 of file ExternalAtomEvaluationHeuristics.cpp.
bool ExternalAtomEvaluationHeuristicsNever::doEvaluate | ( | const ExternalAtom & | eatom, |
InterpretationConstPtr | eatomMask, | ||
InterpretationConstPtr | programMask, | ||
InterpretationConstPtr | partialAssignment, | ||
InterpretationConstPtr | assigned, | ||
InterpretationConstPtr | changed | ||
) | [virtual] |
Decides if the reasoner shall evaluate a given external atom at this point.
eatom | The external atom in question. |
eatomMask | Mask with all atoms relevant for this external atom. |
programMask | All atoms in the program. |
partialAssignment | The current (partial) interpretation. |
assigned | The current set of assigned atoms; if 0, then the interpretation is complete. |
changed | The set of atoms with a (possibly) modified truth value since the last call; if NULL then all atoms have (possibly) changed. |
Implements ExternalAtomEvaluationHeuristics.
Definition at line 158 of file ExternalAtomEvaluationHeuristics.cpp.