module YPetri::Simulation::TransitionRepresentation::Type_t
Public Instance Methods
T?()
click to toggle source
False for timed transitions.
# File lib/y_petri/simulation/transition_representation/t.rb, line 11 def T? false end
Also aliased as: timed?
d()
click to toggle source
Change, as it would happen if the transition fired, returned as hash codomain places >> change.
# File lib/y_petri/simulation/transition_representation/t.rb, line 33 def d delta.with_keys do |p| p.name || p end end
init()
click to toggle source
Initialization subroutine.
Calls superclass method
YPetri::Simulation::TransitionRepresentation::Type_a#init
# File lib/y_petri/simulation/transition_representation/t.rb, line 25 def init super @function = source.action_closure end
t?()
click to toggle source
True for timed transitions.
# File lib/y_petri/simulation/transition_representation/t.rb, line 18 def t? true end
Also aliased as: timeless?