Sha256: 38f77b74eaaf847d156158399ca08330f88ce2244af89292b3872c9c995adf94

Contents?: true

Size: 450 Bytes

Versions: 17

Compression:

Stored size: 450 Bytes

Contents

# encoding: utf-8

# A mixin for collections of t transitions.
# 
class YPetri::Simulation::Transitions
  module Type_t
    include Type_a

    # State change if the timeless transitions fire once.
    # 
    def delta
      ts.delta + tS.delta
    end

    # State change if the timeless transitions fire once.
    # 
    def Δ
      tS.Δ + ts.Δ
    end
    alias delta_all delta
  end # module Type_T
end # class YPetri::Simulation::Transitions

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
y_petri-2.4.9 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.8 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.6 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.4 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.3 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.2 lib/y_petri/simulation/transitions/t.rb
y_petri-2.4.0 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.12 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.11 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.10 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.9 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.8 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.6 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.5 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.4 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.3 lib/y_petri/simulation/transitions/t.rb
y_petri-2.3.2 lib/y_petri/simulation/transitions/t.rb