lib/y_petri/transition/T.rb in y_petri-2.4.3 vs lib/y_petri/transition/T.rb in y_petri-2.4.4

- old
+ new

@@ -1,9 +1,15 @@ # encoding: utf-8 # Mixin for timed Petri net transitions. # module YPetri::Transition::Type_T + # For timed transitions, "function" refers to their rate closure. + # + def function + rate_closure + end + # Transition's action (before validation). Requires Δt as an argument. # def action Δt if stoichiometric? then rate = rate_closure.( *domain_marking )