The index of the proposed schedule corresponding to the generated schedules contained in
window.scheduleEvaluator
currently rendered schedule
the index of the current schedule in the scheduleEvaluator.schedules array, only applicable when generated=true
indicates whether the currently showing schedule is the generated schedule
total number of generated schedules, has the same value as
window.scheduleEvaluator.size()
the index of the active proposed
the proposed schedule that is currently active
clear the currently active schedules and its corresponding generated schedules, if applicable
copy the current schedule and append to the proposedSchedules
array.
Immediately switch to the newly copied schedule.
delete the current proposed schedule, switch to the schedule after the deleted schedule. do nothing if this is the last proposed schedule
create a new empty schedule at the end of the proposedSchedules array and immediately switch to it
recompute all of the proposed schedules. meaning of params see Schedule.computeSchedule
default to true
Switch to idx
page
assign currentSchedule
with the generated schedule at index idx
switch to next or previous proposed schedule. has bound checking.
if true, try to switch to generated schedules if the following conditions are met,
switch to current proposed schedule if false
Generated using TypeDoc
the schedule module provides methods to manipulate schedules
Hanzhi Zhou