Skip to content
Snippets Groups Projects
  1. Oct 30, 2019
    • Erik Nygren's avatar
      Refactoring: Intdocued fix_agents function. · c85e08ee
      Erik Nygren authored
      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.
      
      Code cleanup
      c85e08ee
    • Erik Nygren's avatar
      updated malfunciton probability. · 7c974837
      Erik Nygren authored
      It now gives the probability that an agent breaks at given time step
      given the number of agents and the rate of failures of a single agent.
      These number now need to be much larger.... otherwise we will have alot of failures
      7c974837
  2. Oct 29, 2019
  3. Oct 21, 2019
  4. Oct 17, 2019
  5. Oct 13, 2019
  6. Oct 11, 2019
  7. Oct 10, 2019
  8. Oct 09, 2019
Loading