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