Sha256: 96d080ea75e861a852fff6fe82a904a1ddaf32a53562b121926e93da3206412d

Contents?: true

Size: 418 Bytes

Versions: 38

Compression:

Stored size: 418 Bytes

Contents

# encoding: utf-8

# Implicit Euler for timeless nets. Simply, timeless transitions
# fire simultaneously, after which A transitions (if any) fire.
#
module YPetri::Core::Timeless::PseudoEuler
  # Name of this method.
  # 
  def simulation_method
    :pseudo_euler
  end

  def step!
    increment_marking_vector Δ
    assignment_transitions_all_fire!
    alert
  end
end # module YPetri::Core::Timeless::PseudoEuler

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
y_petri-2.2.4 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.2.3 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.2.2 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.2.1 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.2.0 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.51 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.50 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.49 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.48 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.47 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.46 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.45 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.44 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.42 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.40 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.39 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.37 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.36 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.35 lib/y_petri/core/timeless/pseudo_euler.rb
y_petri-2.1.34 lib/y_petri/core/timeless/pseudo_euler.rb