Releases: vldtecno/PTN-Engine
Releases · vldtecno/PTN-Engine
v2.0.0
Introduced different modes of execution:
SINGLE_THREAD - only one thread, the net is executed until no transition can be fired.
EVENT_LOOP - one additional thread, the event loop thread, where the Petri net runs and processes actions.
DETACHED - same as event loop, but the actions are deployed in a separate detached thread.
JOB_QUEUE - same as event loop, but there is a job queue thread where the actions are executed. The order of execution is preserved in this mode.
Added XML importing and exporting.
Multiple bugs fixed.
Version 1.1.1
Version 1.1.1 - 2017-12-22
Documentation
- Added logo.
Bug fixes
- Corrected version numbers.
Version 1.1.0
PTN Engine Release Notes
version 1.1.0 - 2017-10-01
Features
- Implemented free choice. When more than one transition is active at the same
time, the transition that will be fired first is randomly chosen. (Note also
that at the moment there is no parallelism available). - Weighted arcs: arcs can now have weights different than 1. The weight can be
specified in the transition constructors. - Inhibitor arc. It is possible to define inhibitor arcs in the transition
constructors. - Reset arc. It is possible to define a reset arc in the transition
constructors. - Added the Elevator example. It exemplifies a more elaborate usage of the
PTN Engine.
Non-Functional Features
- Created types for exceptions, which translate into strong typed error
messages. - Overloaded the place and transition contructors, which allows cleaner user
code. - Added the option to print to an output stream the marking of the net while
executing (mostly for debugging purposes). - Added checking for token overflow.
- Extended the unit test coverage.
Documentation
- General improvements and corrections to the documentation.
Bug fixes
- Corrected failing test. An exception must be thrown if there is an attempt
to exit a place with not enough tokens to do it. - Corrected bug in CMake script that prevented the tests makefiles from being
generated.