Skip to content
Snippets Groups Projects
Commit ed12d9c1 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

Refactoring: Intdocued fix_agents function.

At each step we first check for possible malfunctions.
THen we apply them and do all the agent steps
At the end we look at what agents should be fixed. This lead so to:

Current malfunction value says how many step calls are necessary till agent can move again

e.g. malfunction = 2, we have to call step() twice untill the agent can move again.
parent 7c974837
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment