Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why ‘u_action_space = spaces.Discrete(world.dim_p * 2 + 1)’? #66

Open
ScorpioPeng opened this issue Sep 30, 2021 · 2 comments
Open

Comments

@ScorpioPeng
Copy link

Hi, I dont understand 'u_action_space = spaces.Discrete(world.dim_p * 2 + 1)'
I know that action[0] is the communication, but why dim_p needs to mutiply 2

@benalcazardiego
Copy link

I second this question

@benalcazardiego
Copy link

I think they reduce it to small steps in simple directions, so you can move in 2 times the dimension. If it is a 2D world. you can move left, right top bot, if it were a 3d in +-i, +-j, +-z and I assume the extra action is to stay quiet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants