dlvhex
2.5.0
|
Heuristics which creates a separate evaluation unit for each strongly connected component. More...
#include <include/dlvhex2/EvalHeuristicTrivial.h>
Public Types | |
typedef EvalHeuristicBase < EvalGraphBuilder > | Base |
Public Member Functions | |
EvalHeuristicTrivial () | |
Constructor. | |
virtual | ~EvalHeuristicTrivial () |
Destructor. | |
virtual void | build (EvalGraphBuilder &builder) |
Constructs the evaluation graph. |
Heuristics which creates a separate evaluation unit for each strongly connected component.
Definition at line 43 of file EvalHeuristicTrivial.h.
Definition at line 48 of file EvalHeuristicTrivial.h.
Constructor.
Definition at line 44 of file EvalHeuristicTrivial.cpp.
EvalHeuristicTrivial::~EvalHeuristicTrivial | ( | ) | [virtual] |
Destructor.
Definition at line 50 of file EvalHeuristicTrivial.cpp.
void EvalHeuristicTrivial::build | ( | EvalGraphBuilder & | builder | ) | [virtual] |
Constructs the evaluation graph.
builder | EvalGraphBuilder 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().