Sha256: dde1fe56e2010491ddcb358ab73577bb3d661a97534cfe76bed4a6cc718ba942
Contents?: true
Size: 569 Bytes
Versions: 38
Compression:
Stored size: 569 Bytes
Contents
# encoding: utf-8 # Basic elements of a simulation, a mixin intended for YPetri::Simulation. # class YPetri::Simulation # Represents a set of features of a simulation state. # class FeatureSet ★ DependencyInjection attr_reader :marking, :firing, :delta # Initializes the feature set. # def initialize marking: [], firing: [], delta: { places: [], transitions: [] } @marking = x @firing = @marking, @firing, @delta = marking, firing, delta end end # class FeatureSet end # YPetri::Simulation
Version data entries
38 entries across 38 versions & 1 rubygems