64
64
if(_transitionnames.count(name) == 0)
66
66
uint32_t next = _transitionnames.size();
67
67
_transitions.emplace_back();
68
69
_transitionnames[name] = next;
72
75
void PetriNetBuilder::addInputArc(const string &place, const string &transition, bool inhibitor, int weight) {
73
76
if(_transitionnames.count(transition) == 0)
78
addTransition(transition,-1,0.0,0.0);
77
80
if(_placenames.count(place) == 0)