Qgym

Latest version: v0.3.1

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.1

What's Changed
* 88 numpy20 compatibility by S-Linde in https://github.com/QuTech-Delft/qgym/pull/90


**Full Changelog**: https://github.com/QuTech-Delft/qgym/compare/v.0.3.0...v0.3.1

v.0.3.0
What's Changed
- New generator classes for abstracting training data. Users can now provide their own generators to generate training data.
- A collection of generators has been added. The default generators for each environment are implemented in such a way that they behave equal to the old environments with the default values.
- `Routing` and `InitialMapping` parse connection graphs more intuitively.

This release also contains the following minor changes:
- Modernized and improved type hinting
- Removed support for python3.7 in favor for support for python3.12
- Documentation now has hyperlinks to outside modules, like `numpy`, `gymnasium`, etc.
- Moved from a `setup.cfg` based installation to a `pyproject.toml` based installation.
- Some typo's in the documentation.

0.2.1

Bugfixes:
- Trunctation of `InitialMapping` truncation now works as expected.
- Grid graphs are now parsed correctly.

0.2.0

This release includes major improvements for the `Routing` environment and some minor changes to the `InitialMapping` environment.

Routing
- The action space of the `Routing` environment is changed to a simple discrete space. Every entry now represents a legal swap or a (possibly illegal) surpass. This is a *breaking change*.
- The `Routing` environment can now handle graphs with fidelity. The `Rewarders` are not changed an thus do not take any fidelity into account. Nonetheless, custom `Rewarders` now can use the fidelity.

InitialMapping
- The `FidelityRewarder` of `InitialMapping` has been removed. Instead the other rewarders take fidelity into account automatically when the connection graph has weights representing the fidelity.
- `InitialMapping` now truncates an episode if the number of steps exceeds 10 times the number of nodes in the connection graph.

Bugfixes
- Bugfix in the `Visualizer` that would sometimes crash an environment upon deletion.

0.1.0

This release adds the possibility to (optionally) add fidelity to the connection graph of ``InitalMapping`` environment. It also contains some improvements to the documentation and some minor bugfixes.

0.0.1

Initial release of `qgym`.

This version contains the `InitialMapping`, `Scheduling` and `Routing` environments as well a some templates which can be used to extend the framework.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.