sumo-rl icon indicating copy to clipboard operation
sumo-rl copied to clipboard

Design a restriction so that one phase can only occur immediately after a specified phase.

Open jackli100 opened this issue 7 months ago • 1 comments

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.

jackli100 avatar Jul 25 '24 11:07 jackli100