module YPetri::Simulation::Transitions::Type_T

Public Instance Methods

delta(Δt) click to toggle source

State change of free places if the timed transitions fire for given time.

# File lib/y_petri/simulation/transitions/T.rb, line 23
def delta Δt
  gradient * Δt
end
delta_all(Δt)
Alias for: Δ
gradient() click to toggle source

Gradient by the T transitions.

# File lib/y_petri/simulation/transitions/T.rb, line 17
def gradient
  Ts().gradient + TS().gradient
end
gradient_closures() click to toggle source

T transitions have gradient closures.

# File lib/y_petri/simulation/transitions/T.rb, line 11
def gradient_closures
  map &:gradient_closure
end
Δ(Δt) click to toggle source

State change of all places if the timed transitions fire for given time.

# File lib/y_petri/simulation/transitions/T.rb, line 29
def Δ Δt
   * Δt
end
Also aliased as: delta_all