Method: YPetri::Simulation::TransitionRepresentation#initialize
- Defined in:
- lib/y_petri/simulation/transition_representation.rb
#initialize(net_transition) ⇒ TransitionRepresentation
Expect a single YPetri place as an argument.
16 17 18 19 20 |
# File 'lib/y_petri/simulation/transition_representation.rb', line 16 def initialize net_transition super @domain, @codomain = Places( source.domain ), Places( source.codomain ) type_init end |