Skip to content
Snippets Groups Projects
Commit d2ac83fe authored by u214892's avatar u214892
Browse files

Merge branch '168-multispeed-penalties' of...

Merge branch '168-multispeed-penalties' of gitlab.aicrowd.com:flatland/flatland into 169-Enhance_sparse_rail_generator
parents 9e13a5b3 0c6d1cfa
No related branches found
No related tags found
No related merge requests found
"""Test Utils."""
from typing import List, Tuple
from typing import List, Tuple, Optional
from attr import attrs, attrib
......@@ -13,6 +13,7 @@ class Replay(object):
direction = attrib(type=Grid4TransitionsEnum)
action = attrib(type=RailEnvActions)
malfunction = attrib(default=0, type=int)
penalty = attrib(default=None, type=Optional[float])
@attrs
......
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