dlvhex
2.5.0
|
Optimizer class. More...
#include <include/dlvhex2/PluginInterface.h>
Public Member Functions | |
virtual | ~PluginOptimizer () |
virtual void | optimize (InterpretationPtr edb, DependencyGraphPtr depgraph)=0 |
Optimize EDB and dependency graph. |
Optimizer class.
The purpose of an optimizer is to modify (prune) the dependency graph and the EDB before evaluation.
Other possibilities for modifying the way input is prepared for evaluation are:
Definition at line 1482 of file PluginInterface.h.
virtual PluginOptimizer::~PluginOptimizer | ( | ) | [inline, virtual] |
Definition at line 1485 of file PluginInterface.h.
virtual void PluginOptimizer::optimize | ( | InterpretationPtr | edb, |
DependencyGraphPtr | depgraph | ||
) | [pure virtual] |
Optimize EDB and dependency graph.
edb | Set of facts of the program |
depgraph | Current dependency graph which can be modified to optimize it |