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

#168 Replay class with penalty

parent 71864675
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