GEGELATI
tpgExecutionEngineInstrumented.h
1
37#ifndef TPG_EXECUTION_ENGINE_INSTRUMENTED_H
38#define TPG_EXECUTION_ENGINE_INSTRUMENTED_H
39
40#include <set>
41#include <vector>
42
43#include "archive.h"
44#include "program/programExecutionEngine.h"
45#include "tpg/tpgExecutionEngine.h"
46
47#include "tpg/tpgGraph.h"
48
49namespace TPG {
54 {
55 public:
67 Archive* arch = NULL)
68 : TPGExecutionEngine(env, arch){};
69
77 double evaluateEdge(const TPGEdge& edge) override;
78
88 const TPGTeam& team,
89 const std::vector<const TPGVertex*>& excluded) override;
97 const std::vector<const TPGVertex*> executeFromRoot(
98 const TPGVertex& root) override;
99 };
100}; // namespace TPG
101
102#endif
Definition: archive.h:80
The Environment class contains all information needed to execute a Program.
Definition: environment.h:84
Class representing edges of the Tangled Program Graphs.
Definition: tpgEdge.h:51
Definition: tpgExecutionEngineInstrumented.h:54
TPGExecutionEngineInstrumented(const Environment &env, Archive *arch=NULL)
Main constructor of the class.
Definition: tpgExecutionEngineInstrumented.h:66
double evaluateEdge(const TPGEdge &edge) override
Specialization of the evaluateEdge function.
Definition: tpgExecutionEngineInstrumented.cpp:6
const TPG::TPGEdge & evaluateTeam(const TPGTeam &team, const std::vector< const TPGVertex * > &excluded) override
Specialization of the evaluateTeam function.
Definition: tpgExecutionEngineInstrumented.cpp:12
const std::vector< const TPGVertex * > executeFromRoot(const TPGVertex &root) override
Specialization of the evaluateTeam function.
Definition: tpgExecutionEngineInstrumented.cpp:25
Definition: tpgExecutionEngine.h:56
Definition: tpgTeam.h:48
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: tpgActionInstrumented.h:8