You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I adjust the code so that certain specific phases must occur after particular phases? For example, green phase 3 can only appear after green phase 2. Do you have any suggestions? Should I use conditional statements to dynamically modify the action space, or should I add a significant penalty when the agent selects an incorrect phase combination?
This scene is set up to add a dedicated turning phase in the two-stage model.
Thanks.
The text was updated successfully, but these errors were encountered:
I think both approaches could work. Adding the penalty is probably easier to implement, but in case you have many constraints maybe it would be better to change the TrafficSignal class and change the logic of the action space.
Dear LucasAlegre,
I would like to ask you a question.
How can I adjust the code so that certain specific phases must occur after particular phases? For example, green phase 3 can only appear after green phase 2. Do you have any suggestions? Should I use conditional statements to dynamically modify the action space, or should I add a significant penalty when the agent selects an incorrect phase combination?
This scene is set up to add a dedicated turning phase in the two-stage model.
Thanks.
The text was updated successfully, but these errors were encountered: