dlvhex  2.5.0
UnfoundedSetCheckHeuristicsMax Class Reference

Performs UFS checks whenever deterministic reasoning cannot derive further atoms. More...

#include <include/dlvhex2/UnfoundedSetCheckHeuristics.h>

Inheritance diagram for UnfoundedSetCheckHeuristicsMax:
Collaboration diagram for UnfoundedSetCheckHeuristicsMax:

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.

Detailed Description

Performs UFS checks whenever deterministic reasoning cannot derive further atoms.

Definition at line 82 of file UnfoundedSetCheckHeuristics.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Parameters:
verifiedAuxesThe set of verified external atom auxiliaries wrt. the current partial interpretation
partialAssignmentThe current (partial) interpretation
assignedThe current set of assigned atoms; if NULL, then the interpretation is complete
changedThe set of atoms with a (possibly) modified truth value since the last call of this method; if NULL, then all atoms have changed
Returns:
True if the heuristics decides to do an unfounded set check now, and false otherwise.

Implements UnfoundedSetCheckHeuristics.

Reimplemented in UnfoundedSetCheckHeuristicsPeriodic.

Definition at line 69 of file UnfoundedSetCheckHeuristics.cpp.


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