@@ -90,8 +90,9 @@ This is very common for railway networks where the initial plan usually needs to
We implemted a poisson process to simulate delays by stopping agents at random times for random durations. The parameters necessary for the stochastic events can be provided when creating the environment.
# Use a the malfunction generator to break agents from time to time
```
# Use a the malfunction generator to break agents from time to time
stochastic_data = {
'prop_malfunction': 0.5, # Percentage of defective agents
'malfunction_rate': 30, # Rate of malfunction occurence
...
...
@@ -124,9 +125,6 @@ for a in range(env.get_num_agents()):