Releases: r-simmer/simmer
Releases · r-simmer/simmer
simmer 4.4.7
simmer 4.4.6.4
New features
- Add support for activity tags via
tag
argument (as part of #287). - Add support for named rollbacks via tags. The
amount
argument is deprecated
in favor of the more generic nametarget
. The former will still work, but
raises a warning (#287 addressing #197). - Switch to C++17, drop Boost usage (#297).
Minor changes and fixes
- Fix call identification on error (#286).
- Make tests less verbose by default.
- Fix deprecated functionality in vignette.
- Fix vignette to feed character input to
numeric_version
. - Fixes for Apple Clang 10.
- Fix format-security warning.
- Fix pandoc error in JSS vignette.
simmer 4.4.5
New features
- Add arithmetic support for
schedule
objects (#272). - New
get_batch_size()
getter allows a batch to retrieve its size (#263). - New
get_activity_time()
andget_activity_time_selected()
getters allow an
arrival to retrieve the amount of activity time spent in resources (#186).
Minor changes and fixes
- Apply magrittr workaround and avoid copying
simmer
andmonitor
objects in
function environments for generators too (#279). - Fix file removal on object destruction for file-backed monitors (#277).
- Remove cap on the number of nested branches for trajectory printing (#262).
- Fix duplicate time-based batch trigger (as part of #263).
- Fix typo and trajectory in bank vignettes (#283).
- Fix clone synchronization with
wait=FALSE
, i.e., arrivals don't need to
trigger the samesynchronize()
activity to be in sync (#275).
simmer 4.4.4
simmer 4.4.3
New features
- Add support for functions in
when_activated()
(#250). - Add support for dynamic batch sizes (#258 addressing #245).
Minor changes and fixes
- Fix multiple reporting of ongoing arrivals (#240).
- Set package namespace as parent of
simmer
andwrap
environments (#241). - Fix arrival restart after queue drops (#257).
- Fix segfault printing activities with empty vectors (#253).
- Fix source behaviour with missing values, which now stop arrival generation
in the same way as negative values do (#256). - Fix
deactivate()
, which now unschedules future arrivals (#249).
simmer 4.4.2
- Fix memory issues in
trap()
,synchronize()
androllback()
. These are
stateful activities that require storing information about passing arrivals to
manage clones or redirections. These activities were not properly cleaning
their storage when arrivals were rejected at some point in the trajectory. As
a result, certain simulations with these activities involved may show random
improper behaviour depending on how memory reuse happens. This patch unifies
storage management for stateful activities, adds a new interface to register
these activities and another interface for arrivals to notify their
termination, so that the stored information is properly cleaned up (#231). - Fix state sharing in round-robin policy operation in
select()
(#233).
simmer 4.4.1
Minor changes and fixes
- Fix pause status of reneging arrivals that are kicked from a resource queue
(#228 addressing #227). - Set the minimum execution priority for the
timeout()
activity. This makes
possible to set a null timeout so that the next event is processed in the last
place if several more events happen at the same time (#229). - Extend the
Queueing Systems
vignette with a section about custom service
policies (as part of #229).
simmer 4.4.0
New features
- Add
out
andkeep_seized
parameters toleave()
with the same behaviour as
inrenege_in()
andrenege_if()
. Code and documentation of these functions
are now integrated underhelp(renege)
(#208, #217). - Convenience functions
from
,to
andfrom_to
accept dynamic parameters
for argumentsstart_time
,stop_time
andevery
(#219). - Activities to interact with sources have been vectorised to modify multiple
sources at once (#222). - Several generators or resources with the same parameters can be added with a
single call toadd_generator()
andadd_resource()
respectively if a vector
of names is provided (#221).
Minor changes and fixes:
- Fix
get_mon_*()
dispatch for named lists (#210). - Get/put the RNG state when random numbers are required in the backend (#218).
- Fix convenience functions
from
,to
andfrom_to
to preserve the
environment of the supplied functions (as part of #219). - Documentation improvements (#212, #220).
- Fix queueing in multiple resources after preemption (#224 addressing #206).