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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(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:
updatein interfaceMarkingUpdater- Parameters:
m- markingpetriNet- Petri nett- fired transition
-