dlvhex  2.5.0
EvalHeuristicASP Class Reference

Creates an evaluation graph specified by an ASP program. More...

#include <include/dlvhex2/EvalHeuristicASP.h>

Inheritance diagram for EvalHeuristicASP:
Collaboration diagram for EvalHeuristicASP:

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.

Detailed Description

Creates an evaluation graph specified by an ASP program.

Definition at line 43 of file EvalHeuristicASP.h.


Member Typedef Documentation


Constructor & Destructor Documentation

EvalHeuristicASP::EvalHeuristicASP ( const std::string &  scriptname)

Constructor.

Definition at line 86 of file EvalHeuristicASP.cpp.

Destructor.

Definition at line 93 of file EvalHeuristicASP.cpp.


Member Function Documentation

void EvalHeuristicASP::build ( EvalGraphBuilder builder) [virtual]

Constructs the evaluation graph.

Parameters:
builderEvalGraphBuilder 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().


Field Documentation

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().


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