Sha256: 82f3c87a197dd91bd10abfbe51d13621e72c006c4b68566c5c460179a117e0ad
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
# encoding: utf-8 # Euler method with timeless transitions firing every time tick. # class YPetri::Core::Timed module QuasiEuler include Euler # Name of this method. # def simulation_method :quasi_euler end # Makes a single step by Δt. # def step! Δt=simulation.step_size fail NotImplementedError # Now one would have to compare whichever comes first, time tick or the # end of Δt, and then again and again, until Δt is fired... end end # QuasiEuler end # YPetri::Core::Timed
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
y_petri-2.1.3 | lib/y_petri/core/timed/quasi_euler.rb |