Package org.oristool.models.pn
Class PetriTokensAdder
java.lang.Object
org.oristool.models.pn.PetriTokensAdder
- All Implemented Interfaces:
MarkingUpdater
A simple strategy adding tokens to each output place.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(Marking m, PetriNet petriNet, Transition t) Adds tokens to each output place according to the multiplicity of the postcondition.
-
Constructor Details
-
PetriTokensAdder
public PetriTokensAdder()
-
-
Method Details
-
update
Adds tokens to each output place according to the multiplicity of the postcondition.- Specified by:
update
in interfaceMarkingUpdater
- Parameters:
m
- markingpetriNet
- Petri nett
- fired transition
-