From 9e883d793fed23dadec29bd83e2873befa9c9715 Mon Sep 17 00:00:00 2001 From: Sukrit Kalra Date: Wed, 1 Nov 2023 03:26:33 -0700 Subject: [PATCH] Fix bugs in TetriSched scheduler. --- schedulers/tetrisched/src/Expression.cpp | 66 +++-- schedulers/tetrisched_scheduler.py | 294 ++++++++++++++++------- simulator.py | 30 ++- 3 files changed, 279 insertions(+), 111 deletions(-) diff --git a/schedulers/tetrisched/src/Expression.cpp b/schedulers/tetrisched/src/Expression.cpp index 522be0f7..795beb1f 100644 --- a/schedulers/tetrisched/src/Expression.cpp +++ b/schedulers/tetrisched/src/Expression.cpp @@ -1,10 +1,10 @@ #include "tetrisched/Expression.hpp" #include -#include #include #include #include +#include #include /// A method to generate a UUID for different classes. @@ -95,7 +95,7 @@ void CapacityConstraintMap::registerUsageForDuration( const Partition& partition, Time startTime, Time duration, VariablePtr variable, std::optional