module YPetri::Core::Timed::Euler
Euler
method. Assumes that only T transitions are in the net.
Public Instance Methods
delta(Δt)
click to toggle source
Computes Δ for the period of Δt. Since this method assumes that only timed transitions are in the net, delta state is computed simply bu multiplying the gradient by Δt.
# File lib/y_petri/core/timed/euler.rb, line 10 def delta Δt gradient * Δt end
Also aliased as: Δ