y_petri 2.1.21 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/y_petri/agent/simulation_related.rb +3 -3
- data/lib/y_petri/net/data_set.rb +1 -0
- data/lib/y_petri/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03002f5fdf4953240fbaf2664c21bc8185df720e
|
4
|
+
data.tar.gz: fdf0076cb4c8bab4bd1c4d8f15a1405dc56e27a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 072b911c19ef66ee8bd490d507d957c30ef9e5e763db8802003e8ecf4ae6edb9478e5163151ac915307594ac248e84c37c3c01de5d907a1926a361d93098a601
|
7
|
+
data.tar.gz: a4d28dd80bed1e35f106675826f44818ada27a1faabaf22bd6e12e98d7cf111e8c7d585294c64f31328cfcd33d413860724aa7ff8e4e65bc6439b025a9f996bb
|
@@ -249,11 +249,11 @@ module YPetri::Agent::SimulationRelated
|
|
249
249
|
|
250
250
|
# Write the recorded samples in a file (csv).
|
251
251
|
#
|
252
|
-
def print_recording( filename=nil )
|
252
|
+
def print_recording( filename=nil, **nn )
|
253
253
|
if filename.nil? then
|
254
|
-
simulation.recording.print
|
254
|
+
simulation.recording.print **nn
|
255
255
|
else
|
256
|
-
File.open filename, "w" do |f| f << print_recording end
|
256
|
+
File.open filename, "w" do |f| f << print_recording( **nn ) end
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
data/lib/y_petri/net/data_set.rb
CHANGED
data/lib/y_petri/version.rb
CHANGED