SI_InteligentnyWozekWidlowy/decision/State.py

23 lines
775 B
Python
Raw Normal View History

2022-05-09 15:49:11 +02:00
from data.enum.Direction import Direction
2022-04-16 15:55:43 +02:00
from data.Item import Item
from data.Order import Order
from decision.ActionType import ActionType
from util.PathDefinitions import GridLocation
class State:
def __init__(self,
action_taken: ActionType,
forklift_position: GridLocation,
forklift_rotation: Direction,
pending_orders: [Order],
filled_orders: [Order],
input_items: [Item]
):
self.action_taken = action_taken
self.forklift_position = forklift_position
self.forklift_rotation = forklift_rotation
self.pending_orders = pending_orders
self.filled_orders = filled_orders
self.input_items = input_items