dlvhex  2.5.0
EvalHeuristicBase< EvalGraphBuilderT > Class Template Reference

Base class for all evaluation heuristics. More...

#include <include/dlvhex2/EvalHeuristicBase.h>

Inheritance diagram for EvalHeuristicBase< EvalGraphBuilderT >:

Public Member Functions

 EvalHeuristicBase ()
 Constructor.
virtual ~EvalHeuristicBase ()
 Destructor.
virtual void build (EvalGraphBuilderT &builder)=0
 Constructs the evaluation graph.

Detailed Description

template<typename EvalGraphBuilderT>
class EvalHeuristicBase< EvalGraphBuilderT >

Base class for all evaluation heuristics.

An evaluation heuristic gets an eval graph builder and shall build an eval graph using methods of the eval graph builder only.

Definition at line 48 of file EvalHeuristicBase.h.


Constructor & Destructor Documentation

template<typename EvalGraphBuilderT>
EvalHeuristicBase< EvalGraphBuilderT >::EvalHeuristicBase ( ) [inline]

Constructor.

Definition at line 52 of file EvalHeuristicBase.h.

template<typename EvalGraphBuilderT>
virtual EvalHeuristicBase< EvalGraphBuilderT >::~EvalHeuristicBase ( ) [inline, virtual]

Destructor.

Definition at line 54 of file EvalHeuristicBase.h.


Member Function Documentation

template<typename EvalGraphBuilderT>
virtual void EvalHeuristicBase< EvalGraphBuilderT >::build ( EvalGraphBuilderT &  builder) [pure virtual]

Constructs the evaluation graph.

Parameters:
builderEvalGraphBuilder to be used for constructing the evaluation graph.

Implemented in DLVHEX_NAMESPACE_BEGIN::EvalHeuristicFromHEXSourcecode, EvalHeuristicGreedy, EvalHeuristicFromFile, EvalHeuristicASP, EvalHeuristicEasy, EvalHeuristicMonolithic, EvalHeuristicOldDlvhex, and EvalHeuristicTrivial.


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