You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2018. It is now read-only.
Create a function "isOverloaded" using 3 arguments isOverloaded(branchIds, reduction, thresholdDuration). The first one is the only one to be required.
isOverloaded(branchIds) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold violated.
isOverloaded(branchIds, reduction) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold violated with a reduction (if reduction*threshold is violated).
isOverloaded(branchIds, thresholdDuration) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold duration (corresponding to the defined threshold) violated.
isOverloaded(branchIds, reduction, thresholdDuration) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold duration (corresponding to the defined threshold) violated with a reduction (if reduction*threshold is violated).
Nota Bene : Mathieu suggested to create a class with all the utility functions.
The text was updated successfully, but these errors were encountered:
Create a function "isOverloaded" using 3 arguments isOverloaded(branchIds, reduction, thresholdDuration). The first one is the only one to be required.
isOverloaded(branchIds) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold violated.
isOverloaded(branchIds, reduction) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold violated with a reduction (if reduction*threshold is violated).
isOverloaded(branchIds, thresholdDuration) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold duration (corresponding to the defined threshold) violated.
isOverloaded(branchIds, reduction, thresholdDuration) returns true only if at least one of the branches among the list of IDs "linesId" has one overload threshold duration (corresponding to the defined threshold) violated with a reduction (if reduction*threshold is violated).
Nota Bene : Mathieu suggested to create a class with all the utility functions.
The text was updated successfully, but these errors were encountered: