Skip to content
Snippets Groups Projects
  1. Oct 30, 2019
    • Erik Nygren's avatar
      backward compatible with version 2.1.8: · 81ae9c09
      Erik Nygren authored
      Reintroduced some malfunction parameters but are not used.
      81ae9c09
    • 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
      Refactoring: Intdocued fix_agents function. · ed12d9c1
      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.
      ed12d9c1
    • 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
    • Erik Nygren's avatar
      updated test to new malfunction · ec5973d4
      Erik Nygren authored
      ec5973d4
  2. Oct 29, 2019
Loading