Package org.oristool.petrinet
Class EnablingFunction
java.lang.Object
org.oristool.petrinet.EnablingFunction
- All Implemented Interfaces:
TransitionFeature
,Feature
The enabling function of a transition.
The transition will be enabled only if:
- input places contain at least the number of tokens required by their precondition arcs;
- inhibitor places contain fewer tokens than those required to activate their inhibitor arcs;
- the enabling function evaluates to true.
This class implements the interface TransitionFeature
to be added
dynamically as feature to any Transition
.
-
Constructor Summary
ConstructorDescriptionEnablingFunction
(String condition) EnablingFunction
(EnablingFunction other) Creates a copy the input instance.EnablingFunction
(MarkingCondition markingCondition) -
Method Summary
-
Constructor Details
-
EnablingFunction
-
EnablingFunction
-
EnablingFunction
Creates a copy the input instance.- Parameters:
other
- input instance
-
-
Method Details