y_petri 2.0.7 → 2.0.14.p1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/y_petri/net/selections.rb +209 -0
- data/lib/y_petri/net/visualization.rb +67 -0
- data/lib/y_petri/net.rb +33 -311
- data/lib/y_petri/place/guard.rb +20 -13
- data/lib/y_petri/place.rb +12 -7
- data/lib/y_petri/simulation.rb +8 -9
- data/lib/y_petri/transition/assignment.rb +37 -0
- data/lib/y_petri/transition/{constructor_syntax.rb → construction.rb} +1 -0
- data/lib/y_petri/transition/ordinary_timeless.rb +46 -0
- data/lib/y_petri/transition/timed.rb +57 -0
- data/lib/y_petri/transition.rb +103 -220
- data/lib/y_petri/version.rb +1 -1
- data/lib/y_petri.rb +1 -1
- data/test/acceptance/basic_usage_test.rb +30 -0
- data/test/acceptance/simulation_test.rb +132 -0
- data/test/acceptance/simulation_with_physical_units_test.rb +153 -0
- data/test/acceptance/token_game_test.rb +36 -0
- data/test/acceptance/visualization_test.rb +25 -0
- data/test/acceptance_tests.rb +14 -0
- data/test/manipulator_test.rb +100 -0
- data/test/{simple_manual_examples.rb → manual_examples.rb} +0 -0
- data/test/net_test.rb +171 -0
- data/test/place_test.rb +7 -6
- data/test/simulation_test.rb +280 -0
- data/test/timed_simulation_test.rb +149 -0
- data/test/transition_test.rb +2 -4
- data/test/workspace_test.rb +72 -0
- data/test/y_petri_test.rb +16 -1107
- metadata +34 -7
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: y_petri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.14.p1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: y_support
|
@@ -76,6 +76,8 @@ files:
|
|
76
76
|
- lib/y_petri/manipulator/selection.rb
|
77
77
|
- lib/y_petri/manipulator/simulation_related_methods.rb
|
78
78
|
- lib/y_petri/net.rb
|
79
|
+
- lib/y_petri/net/selections.rb
|
80
|
+
- lib/y_petri/net/visualization.rb
|
79
81
|
- lib/y_petri/place.rb
|
80
82
|
- lib/y_petri/place/arcs.rb
|
81
83
|
- lib/y_petri/place/guard.rb
|
@@ -83,16 +85,30 @@ files:
|
|
83
85
|
- lib/y_petri/timed_simulation.rb
|
84
86
|
- lib/y_petri/transition.rb
|
85
87
|
- lib/y_petri/transition/arcs.rb
|
88
|
+
- lib/y_petri/transition/assignment.rb
|
86
89
|
- lib/y_petri/transition/cocking.rb
|
87
|
-
- lib/y_petri/transition/
|
90
|
+
- lib/y_petri/transition/construction.rb
|
91
|
+
- lib/y_petri/transition/ordinary_timeless.rb
|
92
|
+
- lib/y_petri/transition/timed.rb
|
88
93
|
- lib/y_petri/version.rb
|
89
94
|
- lib/y_petri/workspace.rb
|
90
95
|
- lib/y_petri/workspace/parametrized_subclassing.rb
|
91
96
|
- lib/y_petri/workspace/petri_net_related_methods.rb
|
92
97
|
- lib/y_petri/workspace/simulation_related_methods.rb
|
98
|
+
- test/acceptance/basic_usage_test.rb
|
99
|
+
- test/acceptance/simulation_test.rb
|
100
|
+
- test/acceptance/simulation_with_physical_units_test.rb
|
101
|
+
- test/acceptance/token_game_test.rb
|
102
|
+
- test/acceptance/visualization_test.rb
|
103
|
+
- test/acceptance_tests.rb
|
104
|
+
- test/manipulator_test.rb
|
105
|
+
- test/manual_examples.rb
|
106
|
+
- test/net_test.rb
|
93
107
|
- test/place_test.rb
|
94
|
-
- test/
|
108
|
+
- test/simulation_test.rb
|
109
|
+
- test/timed_simulation_test.rb
|
95
110
|
- test/transition_test.rb
|
111
|
+
- test/workspace_test.rb
|
96
112
|
- test/y_petri_test.rb
|
97
113
|
- y_petri.gemspec
|
98
114
|
homepage: ''
|
@@ -109,9 +125,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
109
125
|
version: '0'
|
110
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
127
|
requirements:
|
112
|
-
- - '
|
128
|
+
- - '>'
|
113
129
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
130
|
+
version: 1.3.1
|
115
131
|
requirements: []
|
116
132
|
rubyforge_project:
|
117
133
|
rubygems_version: 2.0.3
|
@@ -119,7 +135,18 @@ signing_key:
|
|
119
135
|
specification_version: 4
|
120
136
|
summary: a Petri net domain model and simulator
|
121
137
|
test_files:
|
138
|
+
- test/acceptance/basic_usage_test.rb
|
139
|
+
- test/acceptance/simulation_test.rb
|
140
|
+
- test/acceptance/simulation_with_physical_units_test.rb
|
141
|
+
- test/acceptance/token_game_test.rb
|
142
|
+
- test/acceptance/visualization_test.rb
|
143
|
+
- test/acceptance_tests.rb
|
144
|
+
- test/manipulator_test.rb
|
145
|
+
- test/manual_examples.rb
|
146
|
+
- test/net_test.rb
|
122
147
|
- test/place_test.rb
|
123
|
-
- test/
|
148
|
+
- test/simulation_test.rb
|
149
|
+
- test/timed_simulation_test.rb
|
124
150
|
- test/transition_test.rb
|
151
|
+
- test/workspace_test.rb
|
125
152
|
- test/y_petri_test.rb
|