SI_InteligentnyWozekWidlowy/decision/State.py
Aleksander Szamałek 650b5ab787 decision structure
2022-04-16 15:55:43 +02:00

23 lines
770 B
Python

from data.Direction import Direction
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