A wrapper to transform some of the continuous environment variables into actions indicating an increase/decrease in their current value, rather than directly setting the value. To compute the possible increments/decrements for each variable, dictionary is specified as an argument, indicating the name of each variable to be transformed as the key, and the value being a tuple of values called delta and step. This achieves a set of possible increments for each desired variable.
delta: Maximum range of increments and decrements.
step: Interval of intermediate values within the ranges.
The following figure illustrates its operation, basically the values are rounded with nearest increment value and summed with
current real values of simulation:
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
A wrapper to transform some of the continuous environment variables into actions indicating an increase/decrease in their current value, rather than directly setting the value. To compute the possible increments/decrements for each variable, dictionary is specified as an argument, indicating the name of each variable to be transformed as the key, and the value being a tuple of values called delta and step. This achieves a set of possible increments for each desired variable.
The following figure illustrates its operation, basically the values are rounded with nearest increment value and summed with current real values of simulation:
Types of changes
Checklist:
autopep8
second level aggressive.isort
.cd docs && make spelling && make html
pass (required if documentation has been updated.)pytest tests/ -vv
pass. (required).pytype -d import-error sinergym/
pass. (required)Changelog: