Implementation of AFPNs
After an Adaptive Fuzzy Petri Nets has been implemented, this can be employed as an inference engine. The implementation of an inference engine is realized by firing transitions. Any type of transition fires as quickly as it is enabled and a transition t is considered to be enables if all the input places have tokens that certainty factors are greater than their thresholds.
See the following:
Suppose that I (t ) = { pi1 , pi2 , . . . , pin } and the subsequent input weights are specified via, Weights : wI1 , wI2 , ... , wIn . Equally the consequent thresholds are specified by,
Thresholds λ1, λ2, ... , λn
Here, for all t ∈ T, t is enabled and fired if for all pij ∈ I (t ) , the certainty value α ( pij ) ≥ λi , j = 1, 2, ... , n holds. Subsequent to firing t, the token in pij is removed, and a token along with certainty factor wOk × (min λij + ∑ (α ( pij ) - λj ) × wij ) is put into all of its output places pok, k = 1, 2, ... , m . The new certainty factor of pok is the innovative token that is generated by the transition along with the maximum output weight, if a place pok has more than one input transitions and more than one of its input transitions fire.
Figure: A Part of a Petri Net Model showing more than 2 Input Transitions to a Place