Skip to content
Snippets Groups Projects
Commit 7db7339f authored by Christian Eichenberger's avatar Christian Eichenberger :badminton:
Browse files

Merge branch 'patch-2' into 'master'

Update flatland_2.0.md for a minor typo

See merge request flatland/flatland!188
parents 8f8465df 5cbe2e3c
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ env = RailEnv(
)
```
You can see that you now need bot a `rail_generator` and a `schedule_generator` to generate a level. These need to work nicely together. The `rail_generator` will only generate the railway infrastructure and provide hints to the `schedule_generator` about where to place agents. The `schedule_generator` will then generate a schedule, meaning it places agents at different train stations and gives them tasks by providing individual targets.
You can see that you now need both a `rail_generator` and a `schedule_generator` to generate a level. These need to work nicely together. The `rail_generator` will only generate the railway infrastructure and provide hints to the `schedule_generator` about where to place agents. The `schedule_generator` will then generate a schedule, meaning it places agents at different train stations and gives them tasks by providing individual targets.
You can tune the following parameters in the `sparse_rail_generator`:
......
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