-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(v2.2.5) - Multi-Objective Reward compability in Sinergym (#303)
* Updated Sinergym version from 2.2.4 to 2.2.5 * Updated reward terms dictionary * Improved environment layer info dict construction * Added MultiObjectiveReward in wrappers.py * Enhanced Sinergym logger: Using info for reward information in order to be more general * Fixed loggerWrapper to logger update * Added timestep and time_elapsed (both 0) to simulator info in reset * Added fixture with multiobjective wrapper * Added tests for multiobjective wrapper * Fix simulator test to new info dict dimension * Fixed pytype errors * Update documentation modules for API reference documentation * Documentation: Updated wrapper section * Update wrapper notebook example * Documentation: Updated reward section and added issue reference un multiObjective wrapper section
- Loading branch information
1 parent
50ce3f7
commit f33f130
Showing
18 changed files
with
398 additions
and
245 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
docs/source/pages/modules/sinergym.utils.wrappers.LoggerWrapper.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
docs/source/pages/modules/sinergym.utils.wrappers.MultiObjectiveReward.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
sinergym.utils.wrappers.MultiObjectiveReward | ||
============================================ | ||
|
||
.. currentmodule:: sinergym.utils.wrappers | ||
|
||
.. autoclass:: MultiObjectiveReward | ||
:members: | ||
:undoc-members: | ||
|
||
|
||
.. automethod:: __init__ | ||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
|
||
~MultiObjectiveReward.__init__ | ||
~MultiObjectiveReward.class_name | ||
~MultiObjectiveReward.close | ||
~MultiObjectiveReward.render | ||
~MultiObjectiveReward.reset | ||
~MultiObjectiveReward.step | ||
|
||
|
||
|
||
|
||
|
||
.. rubric:: Attributes | ||
|
||
.. autosummary:: | ||
|
||
~MultiObjectiveReward.action_space | ||
~MultiObjectiveReward.metadata | ||
~MultiObjectiveReward.np_random | ||
~MultiObjectiveReward.observation_space | ||
~MultiObjectiveReward.render_mode | ||
~MultiObjectiveReward.reward_range | ||
~MultiObjectiveReward.spec | ||
~MultiObjectiveReward.unwrapped | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
docs/source/pages/modules/sinergym.utils.wrappers.MultiObsWrapper.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/source/pages/modules/sinergym.utils.wrappers.NormalizeObservation.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../sinergym.utils.wrappers.OfficeGridStorageSmoothingActionConstraintsWrapper.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.