dlvhex  2.5.0
EvalHeuristicTrivial Class Reference

Heuristics which creates a separate evaluation unit for each strongly connected component. More...

#include <include/dlvhex2/EvalHeuristicTrivial.h>

Inheritance diagram for EvalHeuristicTrivial:
Collaboration diagram for EvalHeuristicTrivial:

Public Types

typedef EvalHeuristicBase
< EvalGraphBuilder
Base

Public Member Functions

 EvalHeuristicTrivial ()
 Constructor.
virtual ~EvalHeuristicTrivial ()
 Destructor.
virtual void build (EvalGraphBuilder &builder)
 Constructs the evaluation graph.

Detailed Description

Heuristics which creates a separate evaluation unit for each strongly connected component.

Definition at line 43 of file EvalHeuristicTrivial.h.


Member Typedef Documentation


Constructor & Destructor Documentation

Destructor.

Definition at line 50 of file EvalHeuristicTrivial.cpp.


Member Function Documentation

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

Constructs the evaluation graph.

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

Implements EvalHeuristicBase< EvalGraphBuilder >.

Definition at line 62 of file EvalHeuristicTrivial.cpp.

References EvalGraphBuilder::createEvalUnit(), EvalGraphBuilder::getComponentGraph(), ComponentGraph::getInternalGraph(), LOG, and evalheur::topologicalSortComponents().

Referenced by main().


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