dlvhex  2.5.0
include/dlvhex2/EvalHeuristicShared.h File Reference

Code used in multiple evaluation heuristics. More...

#include "dlvhex2/EvalHeuristicBase.h"
#include "dlvhex2/EvalGraphBuilder.h"
#include <boost/graph/topological_sort.hpp>
#include <boost/property_map/property_map.hpp>
Include dependency graph for EvalHeuristicShared.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  evalheur::BuildCommand
 Defines which components to collapse and which components to share among units. More...

Namespaces

namespace  evalheur

Typedefs

typedef ComponentGraph::Component evalheur::Component
typedef
ComponentGraph::ComponentIterator 
evalheur::ComponentIterator
typedef std::vector< Componentevalheur::ComponentContainer
typedef std::set< Componentevalheur::ComponentSet
typedef std::vector< BuildCommand > evalheur::CommandVector

Functions

template<typename ComponentGraphIntOrRest , typename Sequence >
void evalheur::topologicalSortComponents (const ComponentGraphIntOrRest &cg, Sequence &out)
 Topological sort of all components in graph into vector.
void evalheur::executeBuildCommands (const CommandVector &commands, EvalGraphBuilder &builder)
 Executes the commands in a vector.

Detailed Description

Code used in multiple evaluation heuristics.

Author:
Peter Schller

Definition in file EvalHeuristicShared.h.