dlvhex  2.5.0
TestSetMinusAtom::EAHeuristics Class Reference
Inheritance diagram for TestSetMinusAtom::EAHeuristics:
Collaboration diagram for TestSetMinusAtom::EAHeuristics:

Public Member Functions

 EAHeuristics (RegistryPtr reg)
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

Definition at line 914 of file TestPlugin.cpp.


Constructor & Destructor Documentation

Definition at line 916 of file TestPlugin.cpp.


Member Function Documentation

bool TestSetMinusAtom::EAHeuristics::doEvaluate ( const ExternalAtom eatom,
InterpretationConstPtr  eatomMask,
InterpretationConstPtr  programMask,
InterpretationConstPtr  partialAssignment,
InterpretationConstPtr  assigned,
InterpretationConstPtr  changed 
) [inline, 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 917 of file TestPlugin.cpp.


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