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
Yakir Helets edited this page Mar 19, 2019
·
1 revision
General
The application is using one main algorithm and that is the scheduling algorithm.
The algorithm is responsible for the automatic scheduling that is occurring in the application when an admin clicks on the Schedule FAB.
The algorithm is implemented in a Class called ShiftSchedulingSolver and creates the schedule using the method solve().
Class ShiftSchedulingSolver:
Parameters for the constructor: an options list and the number of employees per shift
Method solve():
Parameters: no parameteres
Returns:boolean result whether the scheduling succeeded or failed
Method getFinal_schedule():
Parameters: no parameteres
Returns:List<String>
Explanation of the result: the solve method returns a list of all of the uuid's of the scheduled employees. The list contains only the scheduling order. The Schedule view activity responsible to set the schedule with respect to the given scheduling order and the group's parameters.