-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for custom observation function, minor changes to my previous…
… implementation (#126) * Minor style changes to my previous implementation (to match the author's style) * Support for custom observation function, preparation for drq_norm * Working support for registerable observation functions, minor implementation changes * Moved checking the reward function to TrafficSignal constructor
- Loading branch information
1 parent
4cfc04e
commit d95389d
Showing
3 changed files
with
80 additions
and
57 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from sumo_rl.environment.env import SumoEnvironment | ||
from sumo_rl.environment.env import SumoEnvironment, TrafficSignal | ||
from sumo_rl.environment.env import env, parallel_env | ||
from sumo_rl.environment.resco_envs import grid4x4, arterial4x4, ingolstadt1, ingolstadt7, ingolstadt21, cologne1, cologne3, cologne8 |
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