modules.applications.optimization.salbp.salbp.has_overloaded_station
- has_overloaded_station(cycle_time: int, task_assignment: dict[int, list[Task]]) bool
Return if a station in the given task_assignment is overloaded wrt the given cycle time.
- Parameters:
cycle_time -- The maximum time a station can take
task_assignment -- The assignment of tasks to stations
- Returns:
True if at least one station is overloaded, False otherwise