dlvhex
2.5.0
|
Class for subprogram handling. More...
#include <include/dlvhex2/ProgramCtx.h>
Public Member Functions | |
virtual bool | operator() (AnswerSetPtr model) |
Is called when a new model is found. | |
virtual | ~SubprogramAnswerSetCallback () |
Destructor. | |
Data Fields | |
std::vector< InterpretationPtr > | answersets |
Container for the answer sets of the subprogram. |
Class for subprogram handling.
Definition at line 323 of file ProgramCtx.h.
Destructor.
Definition at line 333 of file ProgramCtx.cpp.
bool ProgramCtx::SubprogramAnswerSetCallback::operator() | ( | AnswerSetPtr | model | ) | [virtual] |
Is called when a new model is found.
model | Currently found model. |
Implements ModelCallback.
Definition at line 326 of file ProgramCtx.cpp.
References answersets.
Container for the answer sets of the subprogram.
Definition at line 327 of file ProgramCtx.h.
Referenced by ProgramCtx::evaluateSubprogram(), and operator()().