Skip to content

Limiting agent interactions to once per step - updating both agents #888

Answered by zeyus
zeyus asked this question in Q&A
Discussion options

You must be logged in to vote

Continuing to think about this, it may help (but I still can't imagine the way to stop race conditions) to increase the number of layers, and make the appropriate layers conditional, as well as adding a couple of extra agent states, (e.g. ready, played_neighbours...)

And the layer structure something like:

  1. Send out search messages
  2. Play with nearby players and die if energy is too low
  3. conditionally move if no play occurred (i.e. no neighbours)
  4. conditionally reproduce if energy is high enough

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@zeyus
Comment options

@Robadob
Comment options

@Robadob
Comment options

@zeyus
Comment options

@Robadob
Comment options

Answer selected by zeyus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants