Releases: QuTech-Delft/qgym
Releases · QuTech-Delft/qgym
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
andInitialMapping
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 apyproject.toml
based installation. - Some typo's in the documentation.
v0.2.1
v0.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. TheRewarders
are not changed an thus do not take any fidelity into account. Nonetheless, customRewarders
now can use the fidelity.
InitialMapping
- The
FidelityRewarder
ofInitialMapping
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.