dlvhex  2.5.0
UnfoundedSetCheckHeuristicsPost Class Reference

Contains implementers of UnfoundedSetCheckHeuristics to decide for a given (partial) assignment if a minimality check shall be performed at this point. More...

#include <include/dlvhex2/UnfoundedSetCheckHeuristics.h>

Inheritance diagram for UnfoundedSetCheckHeuristicsPost:
Collaboration diagram for UnfoundedSetCheckHeuristicsPost:

Public Member Functions

 UnfoundedSetCheckHeuristicsPost (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

Contains implementers of UnfoundedSetCheckHeuristics to decide for a given (partial) assignment if a minimality check shall be performed at this point.

Note that this is only for optimization purposes as the reasoner will automatically do such a check whenever it is necessary. However, heuristics may initiate additional checks to possibly detect unfounded atoms earlier. Performs UFS checks only over complete interpretations.

Definition at line 62 of file UnfoundedSetCheckHeuristics.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Definition at line 50 of file UnfoundedSetCheckHeuristics.cpp.


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