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