Source code for gridworld.models.reward
from enum import Enum
[docs]class Reward(Enum):
"""Models all possible rewards."""
goal: int = 1
start: int = 0
obstacle: int = -1
road: int = 0
from enum import Enum
[docs]class Reward(Enum):
"""Models all possible rewards."""
goal: int = 1
start: int = 0
obstacle: int = -1
road: int = 0