Replies: 1 comment 1 reply
-
If B is woken up second, cell C is no longer empty. So B will go to another random empty cell. Looking for a random empty cell is not the responsibility of the scheduler by the way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I have a small doubt regarding the RandomActivation Scheduler, so I will make an example for the Schelling model.
Say that two agents, A and B, at the step k are unhappy and decide to move.
A is randomly woken up before B and decide to go in the cell C
Then B is woken up and, given that they evaluated the situation of the grid in the same step, it randomly decide to go to cell C too.
What happens to B? Does the scheduler automatically look for another cell or does it stay in its unhappy place for the step and wait for the next step?
Somehow I understood that the correct answer is the second, but I'd like to be 100% sure, and maybe having a reference.
Thank you so much.
Beta Was this translation helpful? Give feedback.
All reactions