Sha256: b2833ae0e5adbeb75c287c23c5e1f61ac5a4dd99c5176ff8fe1bf0a51ea11ded
Contents?: true
Size: 531 Bytes
Versions: 38
Compression:
Stored size: 531 Bytes
Contents
# encoding: utf-8 # Euler method with timeless transitions firing every time tick. # module YPetri::Core::Timed::QuasiEuler include YPetri::Core::Timed::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 # YPetri::Core::Timed::QuasiEuler
Version data entries
38 entries across 38 versions & 1 rubygems