Skip to content
Snippets Groups Projects

Add cyclic scheduling and improve resource

Merged Simon Bjurek requested to merge improve-resource-constraint into master
2 files
+ 1
7
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
6
@@ -143,12 +143,6 @@ class ALAPScheduler(Scheduler):
Schedule to apply the scheduling algorithm on.
"""
ASAPScheduler().apply_scheduling(schedule)
# max_end_time = schedule.get_max_end_time()
# if schedule.schedule_time is None:
# schedule.set_schedule_time(max_end_time)
# elif schedule.schedule_time < max_end_time:
# raise ValueError(f"Too short schedule time. Minimum is {max_end_time}.")
# move all outputs ALAP before operations
for output in schedule.sfg.find_by_type_name(Output.type_name()):
Loading