1
0
forked from ROMEO/nexosim
Commit Graph

15 Commits

Author SHA1 Message Date
0da9e6649d Update README.md 2024-11-16 21:25:12 +01:00
09b3c44eab Prepare release v0.3.0-beta.0 2024-11-16 20:40:08 +01:00
0a10f256bc Update README.md 2024-11-16 15:41:09 +01:00
5ab898ad79 Rename crate to NeXosim 2024-11-16 12:26:36 +01:00
1a0dff0f6e Document observable states 2024-11-13 23:59:50 +01:00
2a8a3738cb Use better supported UTF symbols for arrow heads 2024-09-08 17:38:58 +02:00
c984202005 Prepare release v0.2.2 2024-04-04 13:44:10 +02:00
d2f165abc7 Prepare release v0.2.1 2024-03-06 16:40:43 +01:00
fe3fd372e7 Prepare release v0.2.0 2023-08-15 17:16:16 +02:00
22516fe190 Overload schedule_*event methods
The `schedule_*event_in` and `schedule_*event_at` pairs of methods are
each merged into a single overloaded method accepting either a relative
`Duration`or an absolute `MonotonicTime`.
2023-08-14 15:47:08 +02:00
f458377308 Make it possible to cancel current-time events
This is a pretty large patch that impacts the API.

Until now, it was not possible to cancel events that were scheduled for
the current simulation time slice, making it necessary for the user to
use complex workarounds (see former version of the espresso machine
example).

The new implementation makes this possible but the generation of a key
associated to an event has now a non-negligible cost (basicaly it
creates three references to an Arc). For this reason, the API now
defaults to NOT creating a key, and new methods were added for
situations when the event may need to be cancelled and a key is
necessary.

See the much simplified implementation of the espresso machine example
for a motivating case.
2023-07-21 14:23:20 +02:00
045dea509c Minor doc fixes 2023-07-17 14:58:52 +02:00
0bcecbfdc2 Small README fixes 2023-01-16 23:15:47 +01:00
31520d461a First release candidate for v0.1.0 2023-01-16 23:05:46 +01:00
5c94ec6a65 First public commit 2022-10-12 05:33:16 +02:00