dlvhex  2.5.0
ExternalAtomEvaluationHeuristicsNever Class Reference

Never evaluates when the heuristics is asked (but the reasoner will still do this whenever absolutely necessary). More...

#include <include/dlvhex2/ExternalAtomEvaluationHeuristics.h>

Inheritance diagram for ExternalAtomEvaluationHeuristicsNever:
Collaboration diagram for ExternalAtomEvaluationHeuristicsNever:

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.

Detailed Description

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.


Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
eatomThe external atom in question.
eatomMaskMask with all atoms relevant for this external atom.
programMaskAll atoms in the program.
partialAssignmentThe current (partial) interpretation.
assignedThe current set of assigned atoms; if 0, then the interpretation is complete.
changedThe set of atoms with a (possibly) modified truth value since the last call; if NULL then all atoms have (possibly) changed.
Returns:
True if the heuristics suggests to evaluate the external atom, otherwise false.

Implements ExternalAtomEvaluationHeuristics.

Definition at line 158 of file ExternalAtomEvaluationHeuristics.cpp.


The documentation for this class was generated from the following files: