bfs #19
@ -3,4 +3,5 @@ from enum import Enum
|
||||
class AgentActionType (Enum):
|
||||
MOVE_FORWARD = 0
|
||||
TURN_LEFT = 1
|
||||
TURN_RIGHT = 2
|
||||
TURN_RIGHT = 2
|
||||
UNKNOWN = None
|
10
agentState.py
Normal file
10
agentState.py
Normal file
@ -0,0 +1,10 @@
|
||||
from agentOrientation import AgentOrientation
|
||||
from typing import Tuple
|
||||
|
||||
class AgentState:
|
||||
orientation: AgentOrientation
|
||||
position: Tuple[int, int]
|
||||
|
||||
def __init__(self, position: Tuple[int, int], orientation: AgentOrientation) -> None:
|
||||
self.orientation = orientation
|
||||
self.position = position
|
@ -4,4 +4,5 @@ class GridCellType(Enum):
|
||||
NOTHING = 0
|
||||
STREET_VERTICAL = 1
|
||||
STREET_HORIZONTAL = 2
|
||||
GARBAGE_CAN = 3
|
||||
GARBAGE_CAN = 3
|
||||
VISITED_GARBAGE_CAN = 4
|
Loading…
Reference in New Issue
Block a user