Module: YPetri::Core::Timed::Ticked
- Defined in:
- lib/y_petri/core/timed/ticked.rb
Overview
Adaptation of Euler method for the systems possibly with timeless transitions and assignment transitions. Unlike pseudo_euler, which fires every step, quasi_euler fires every time tick. Not implemented yet.
Instance Method Summary collapse
-
#delta(Δt) ⇒ Object
Computes Δ for the period of Δt.
-
#step!(Δt = simulation.step_size) ⇒ Object
Makes a single step by Δt.
Instance Method Details
#delta(Δt) ⇒ Object
Computes Δ for the period of Δt. Not mplemented yet.
10 11 12 |
# File 'lib/y_petri/core/timed/ticked.rb', line 10 def delta |
#step!(Δt = simulation.step_size) ⇒ Object
Makes a single step by Δt. Not implemented yet.
17 18 19 20 21 |
# File 'lib/y_petri/core/timed/ticked.rb', line 17 def step! |