GEGELATI
tpgAction.h
1
37#ifndef TPG_ACTION_H
38#define TPG_ACTION_H
39
40#include <cstdint>
41
42#include "tpg/tpgVertex.h"
43
44namespace TPG {
51 class TPGAction : public TPGVertex
52 {
53
60 const uint64_t actionID;
61
62 public:
68 TPGAction(const uint64_t id) : actionID{id} {};
69
76 virtual void addOutgoingEdge(TPGEdge* edge);
77
83 uint64_t getActionID() const
84 {
85 return this->actionID;
86 };
87 };
88}; // namespace TPG
89
90#endif
Class representing an Action of a TPGGraph.
Definition: tpgAction.h:52
TPGAction(const uint64_t id)
Main constructor of a TPGAction.
Definition: tpgAction.h:68
uint64_t getActionID() const
Get the action ID associated to the TPGAction.
Definition: tpgAction.h:83
virtual void addOutgoingEdge(TPGEdge *edge)
Specialization throwing an std::runtime_exception.
Definition: tpgAction.cpp:40
Class representing edges of the Tangled Program Graphs.
Definition: tpgEdge.h:51
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: tpgActionInstrumented.h:8