Reactions organised by process

This commit is contained in:
Artur Meski
2018-03-28 18:10:42 +01:00
parent 179c199ece
commit 99fbed638c
3 changed files with 78 additions and 24 deletions

View File

@@ -22,7 +22,9 @@ struct Reaction {
Entities prod;
};
typedef std::vector<Reaction> Reactions;
typedef std::vector<std::string> EntitiesByIds;
typedef std::vector<Reactions> ReactionsForProc;
typedef std::vector<std::string> EntitiesById;
typedef std::map<std::string, Entity> EntitiesByName;
typedef std::set<Entities> EntitiesSets;
@@ -30,6 +32,10 @@ typedef unsigned int State;
typedef std::vector<std::string> StatesById;
typedef std::map<std::string, State> StatesByName;
typedef unsigned int Process;
typedef std::vector<std::string> ProcessesById;
typedef std::map<std::string, Process> ProcessesByName;
struct ReactionCond {
Entities rctt;
Entities inhib;