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

updated file for conflict detection training. Used for introduction to the problem

parent 81d103a5
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ def main(argv):
print("main2")
# Get an observation builder and predictor
# The predictor will always predict the shortest path from the current location of the agent.
# This is used to warn for potential conflicts --> Should be enhanced to get better performance!
predictor = ShortestPathPredictorForRailEnv()
observation_helper = TreeObsForRailEnv(max_depth=tree_depth, predictor=predictor)
......
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