SI_InteligentnyWozekWidlowy/pathfinding/PrioritizedItem.py

8 lines
168 B
Python
Raw Normal View History

2022-04-28 21:22:19 +02:00
from dataclasses import dataclass, field
from typing import Any
@dataclass(order=True)
class PrioritizedItem:
priority: float
item: Any = field(compare=False)