dlvhex
2.5.0
|
Internal solver for disjunctive ASP without using third-party software. More...
#include <include/dlvhex2/InternalGroundDASPSolver.h>
Public Types | |
typedef boost::shared_ptr < InternalGroundDASPSolver > | Ptr |
typedef boost::shared_ptr < const InternalGroundDASPSolver > | ConstPtr |
Public Member Functions | |
InternalGroundDASPSolver (ProgramCtx &ctx, const AnnotatedGroundProgram &p, InterpretationConstPtr frozen=InterpretationConstPtr()) | |
Constructor. | |
virtual InterpretationPtr | getNextModel () |
Returns the next model. | |
Private Attributes | |
UnfoundedSetCheckerManager | ufscm |
Manager for unfounded set checking. |
Internal solver for disjunctive ASP without using third-party software.
Definition at line 56 of file InternalGroundDASPSolver.h.
typedef boost::shared_ptr<const InternalGroundDASPSolver> InternalGroundDASPSolver::ConstPtr |
Reimplemented from InternalGroundASPSolver.
Definition at line 72 of file InternalGroundDASPSolver.h.
typedef boost::shared_ptr<InternalGroundDASPSolver> InternalGroundDASPSolver::Ptr |
Reimplemented from InternalGroundASPSolver.
Definition at line 71 of file InternalGroundDASPSolver.h.
DLVHEX_NAMESPACE_BEGIN InternalGroundDASPSolver::InternalGroundDASPSolver | ( | ProgramCtx & | ctx, |
const AnnotatedGroundProgram & | p, | ||
InterpretationConstPtr | frozen = InterpretationConstPtr() |
||
) |
Constructor.
ctx | ProgramCtx. |
p | Ground program with meta information. |
frozen | Atoms which shall not be optimized away since they might be defined by assumptions. |
Definition at line 52 of file InternalGroundDASPSolver.cpp.
InterpretationPtr InternalGroundDASPSolver::getNextModel | ( | ) | [virtual] |
Returns the next model.
This will also trigger callbacks to the propagators, see addPropagator.
Reimplemented from InternalGroundASPSolver.
Definition at line 57 of file InternalGroundDASPSolver.cpp.
References CDNLSolver::addNogood(), DLVHEX_BENCHMARK_REGISTER_AND_SCOPE, UnfoundedSetCheckerManager::getLastUFSNogood(), UnfoundedSetCheckerManager::getUnfoundedSet(), and ufscm.
Manager for unfounded set checking.
Definition at line 60 of file InternalGroundDASPSolver.h.
Referenced by getNextModel().