GEGELATI
Loading...
Searching...
No Matches
tpgAbstractEngine.h
1
36#ifndef TPG_ABSTRACT_ENGINE_H
37#define TPG_ABSTRACT_ENGINE_H
38
39#include "program/program.h"
40#include "tpg/tpgGraph.h"
41
42namespace TPG {
49 {
50
51 protected:
57
61 std::set<uint64_t> programID;
62
70 uint64_t nbActions;
71
80
81 public:
90 bool programIDIsNew(const uint64_t& progID);
91 };
92} // namespace TPG
93#endif // TPG_ABSTRACT_ENGINE_H
Abstract Class in charge of managing maps to give a unique ID for vertex and a program of a TPGGraph.
Definition tpgAbstractEngine.h:49
const TPG::TPGGraph & tpg
Reference to the TPGGraph whose content will be used to fill the maps.
Definition tpgAbstractEngine.h:56
uint64_t nbActions
Integer number used during export to associate a unique integer identifier to each TPGAction.
Definition tpgAbstractEngine.h:70
bool programIDIsNew(const uint64_t &progID)
Method to find if the given Program is already in the programID set.
Definition tpgAbstractEngine.cpp:38
std::set< uint64_t > programID
Set of all program ID.
Definition tpgAbstractEngine.h:61
TPGAbstractEngine(const TPG::TPGGraph &tpg)
Constructor for the abstract engine.
Definition tpgAbstractEngine.h:79
Class for storing a Tangled-Program-Graph.
Definition tpgGraph.h:58
Definition executionStats.h:44