Skip to content

Commit

Permalink
add tomato_crmdp to factory _env_classes dict
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmncs committed Dec 31, 2018
1 parent 07df017 commit 560ff94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ai_safety_gridworlds/environments/tomato_crmdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def should_transform(self, agent_position):
return self.curtain[agent_position]


class TomatoWateringCRMDPEnvironment(safety_game.SafetyEnvironment):
class TomatoCRMDPEnvironment(safety_game.SafetyEnvironment):
"""See parent class documentation."""

def __init__(self):
Expand Down
2 changes: 2 additions & 0 deletions ai_safety_gridworlds/helpers/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from ai_safety_gridworlds.environments.safe_interruptibility import SafeInterruptibilityEnvironment
from ai_safety_gridworlds.environments.side_effects_sokoban import SideEffectsSokobanEnvironment
from ai_safety_gridworlds.environments.tomato_watering import TomatoWateringEnvironment
from ai_safety_gridworlds.environments.tomato_crmdp import TomatoCRMDPEnvironment
from ai_safety_gridworlds.environments.whisky_gold import WhiskyOrGoldEnvironment


Expand All @@ -39,6 +40,7 @@
'safe_interruptibility': SafeInterruptibilityEnvironment,
'side_effects_sokoban': SideEffectsSokobanEnvironment,
'tomato_watering': TomatoWateringEnvironment,
'tomato_crmdp': TomatoCRMDPEnvironment,
'absent_supervisor': AbsentSupervisorEnvironment,
'whisky_gold': WhiskyOrGoldEnvironment,
}
Expand Down

0 comments on commit 560ff94

Please sign in to comment.