38#ifndef TPG_EXECUTION_ENGINE_INSTRUMENTED_H
39#define TPG_EXECUTION_ENGINE_INSTRUMENTED_H
45#include "program/programExecutionEngine.h"
46#include "tpg/tpgExecutionEngine.h"
48#include "tpg/tpgGraph.h"
101 const std::pair<std::vector<const TPG::TPGVertex*>, std::vector<double>>
103 const std::vector<uint64_t>& initActions = {
The Environment class contains all information needed to execute a Program.
Definition environment.h:86
Class representing edges of the Tangled Program Graphs.
Definition tpgEdge.h:54
Definition tpgExecutionEngineInstrumented.h:55
std::vector< std::vector< const TPGVertex * > > traceHistory
Definition tpgExecutionEngineInstrumented.h:59
TPGExecutionEngineInstrumented(const Environment &env, Archive *arch=NULL)
Main constructor of the class.
Definition tpgExecutionEngineInstrumented.h:72
const TPG::TPGEdge & evaluateTeam(const TPGTeam &team) override
Specialization of the evaluateTeam function.
Definition tpgExecutionEngineInstrumented.cpp:49
const std::vector< std::vector< const TPGVertex * > > & getTraceHistory() const
Get all previous execution traces.
Definition tpgExecutionEngineInstrumented.cpp:77
double evaluateEdge(const TPGEdge &edge) override
Specialization of the evaluateEdge function.
Definition tpgExecutionEngineInstrumented.cpp:43
const std::pair< std::vector< const TPG::TPGVertex * >, std::vector< double > > executeFromRoot(const TPG::TPGVertex &root, const std::vector< uint64_t > &initActions={ 0}) override
Specialization of the evaluateTeam function.
Definition tpgExecutionEngineInstrumented.cpp:61
void clearTraceHistory()
Clear the trace history from all previous execution trace.
Definition tpgExecutionEngineInstrumented.cpp:82
Definition tpgExecutionEngine.h:57
const Environment & env
Environment used.
Definition tpgExecutionEngine.h:67
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition executionStats.h:44