dlvhex
2.5.0
|
Creates an evaluation graph specified by an ASP program. More...
#include <include/dlvhex2/EvalHeuristicASP.h>
Public Types | |
typedef EvalHeuristicBase < EvalGraphBuilder > | Base |
Public Member Functions | |
EvalHeuristicASP (const std::string &scriptname) | |
Constructor. | |
virtual | ~EvalHeuristicASP () |
Destructor. | |
virtual void | build (EvalGraphBuilder &builder) |
Constructs the evaluation graph. | |
Protected Attributes | |
std::string | scriptname |
ASP program to be used for contructing the evaluation graph. |
Creates an evaluation graph specified by an ASP program.
Definition at line 43 of file EvalHeuristicASP.h.
Definition at line 48 of file EvalHeuristicASP.h.
EvalHeuristicASP::EvalHeuristicASP | ( | const std::string & | scriptname | ) |
Constructor.
Definition at line 86 of file EvalHeuristicASP.cpp.
EvalHeuristicASP::~EvalHeuristicASP | ( | ) | [virtual] |
Destructor.
Definition at line 93 of file EvalHeuristicASP.cpp.
void EvalHeuristicASP::build | ( | EvalGraphBuilder & | builder | ) | [virtual] |
Constructs the evaluation graph.
builder | EvalGraphBuilder to be used for constructing the evaluation graph. |
Implements EvalHeuristicBase< EvalGraphBuilder >.
Definition at line 123 of file EvalHeuristicASP.cpp.
References DBGLOG, EvalGraphBuilder::getComponentGraph(), LOG, EvalGraphBuilder::registry(), scriptname, ASPSolverManager::solve(), and WARNING().
std::string EvalHeuristicASP::scriptname [protected] |
ASP program to be used for contructing the evaluation graph.
Definition at line 61 of file EvalHeuristicASP.h.
Referenced by build().