From 9e97b1fe92cf5eaa7a003ac76124371ed4492e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Thu, 20 Jul 2023 16:39:53 +0200 Subject: [PATCH] doc: add warning on difference btw easy_bf and easy_bf_fast --- src/algo/easy_bf_fast.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/algo/easy_bf_fast.cpp b/src/algo/easy_bf_fast.cpp index 82bce3c..ccb5d0f 100644 --- a/src/algo/easy_bf_fast.cpp +++ b/src/algo/easy_bf_fast.cpp @@ -49,6 +49,12 @@ void EasyBackfillingFast::make_decisions(double date, // - only handles one priority job (the first of the queue) // - only handles time as floating-point (-> precision errors). + // Warning: you might obtain different outputs than with easy_bf. This is + // due to the fact that this version only keeps track of the priority job + // expected start time and the number of machines available then, while + // easy_bf keeps track of a full 2D schedule of the future. easy_bf_fast + // will sometimes be a little more greedy in backfilling. + bool job_ended = false; // Handle newly finished jobs -- GitLab