diff --git a/src/lbaf/Execution/lbsAlgorithmBase.py b/src/lbaf/Execution/lbsAlgorithmBase.py index 96b684bc..3b4aedd4 100644 --- a/src/lbaf/Execution/lbsAlgorithmBase.py +++ b/src/lbaf/Execution/lbsAlgorithmBase.py @@ -42,7 +42,7 @@ # import abc import os -from typing import Set +from typing import Set, List from ..IO.lbsStatistics import compute_function_statistics from ..Model.lbsRank import Rank diff --git a/src/lbaf/Execution/lbsClusteringTransferStrategy.py b/src/lbaf/Execution/lbsClusteringTransferStrategy.py index be26d300..d40e35af 100644 --- a/src/lbaf/Execution/lbsClusteringTransferStrategy.py +++ b/src/lbaf/Execution/lbsClusteringTransferStrategy.py @@ -132,8 +132,8 @@ def __build_rank_subclusters_heuristic(self, r_src : Rank, r_try : Rank, ave_loa subclusters = {} - amount_over_average = src_load - ave_load; - amount_under_average = ave_load - try_load; + amount_over_average = src_load - ave_load + amount_under_average = ave_load - try_load # print(f"amount_over_average={amount_over_average}, amount_under_average={amount_under_average}")