dlvhex
2.5.0
|
Performs UFS checks whenever deterministic reasoning cannot derive further atoms. More...
#include <include/dlvhex2/UnfoundedSetCheckHeuristics.h>
Public Member Functions | |
UnfoundedSetCheckHeuristicsMax (const AnnotatedGroundProgram &groundProgram, RegistryPtr reg) | |
virtual bool | doUFSCheck (InterpretationConstPtr verifiedAuxes, InterpretationConstPtr partialAssignment, InterpretationConstPtr assigned, InterpretationConstPtr changed) |
Decides if the reasoner shall do an unfounded set check at this point. |
Performs UFS checks whenever deterministic reasoning cannot derive further atoms.
Definition at line 82 of file UnfoundedSetCheckHeuristics.h.
UnfoundedSetCheckHeuristicsMax::UnfoundedSetCheckHeuristicsMax | ( | const AnnotatedGroundProgram & | groundProgram, |
RegistryPtr | reg | ||
) |
Definition at line 64 of file UnfoundedSetCheckHeuristics.cpp.
bool UnfoundedSetCheckHeuristicsMax::doUFSCheck | ( | InterpretationConstPtr | verifiedAuxes, |
InterpretationConstPtr | partialAssignment, | ||
InterpretationConstPtr | assigned, | ||
InterpretationConstPtr | changed | ||
) | [virtual] |
Decides if the reasoner shall do an unfounded set check at this point.
verifiedAuxes | The set of verified external atom auxiliaries wrt. the current partial interpretation |
partialAssignment | The current (partial) interpretation |
assigned | The current set of assigned atoms; if NULL, then the interpretation is complete |
changed | The set of atoms with a (possibly) modified truth value since the last call of this method; if NULL, then all atoms have changed |
Implements UnfoundedSetCheckHeuristics.
Reimplemented in UnfoundedSetCheckHeuristicsPeriodic.
Definition at line 69 of file UnfoundedSetCheckHeuristics.cpp.