Property | Type | Description | |
---|---|---|---|
Doctors | List |
||
MaxConsecutiveShifts | int | ||
MaxShiftsPerRotation | int | ||
Rotations | List |
||
Schedule | List |
Method | Description | |
---|---|---|
BlankCount ( ) : int | ||
DoctorHasExceededHisPersonalMaxShifts ( |
||
DoctorHasExceededMaxDaysThisRotation ( |
||
DoctorWouldExceedMaxConsecutiveShifts ( |
||
EachDay ( System.DateTime from, System.DateTime thru ) : IEnumerable |
||
OutputDoctors ( ) : StringBuilder | ||
OutputSchedule ( ) : StringBuilder | ||
Populate ( int seed ) : void | ||
Scheduler ( ) : System | ||
Scheduler ( List |
Method | Description | |
---|---|---|
AddSlotsToSchedule ( System.DateTime day, int week, int shift, bool is24 ) : void | ||
BuildCalendar ( System.DateTime startDate, System.DateTime endDate ) : void | ||
CalcMaxConsecutiveShifts ( IOrderedEnumerable |
||
CanWork ( |
||
CountShifts ( IList |
||
DoctorAlreadyWorkingThisWeekend ( |
||
DoctorHasExceededMaxLifetime ( |
||
DoctorHasExceededMaxSameShiftsPerRotation ( |
||
DoctorHasExceededMaxWeekendsPerRotation ( |
||
GetDoctorName ( |
||
GetRandomOrder ( int seed ) : int[] | ||
GetSlotsByDoctorAndRotation ( Doctor doctor, |
||
LoadRotations ( string rotationFileName ) : void | ||
OutputScheduleForLocation ( string location ) : StringBuilder |
public DoctorHasExceededHisPersonalMaxShifts ( |
||
slot | ||
doctor | Doctor | |
return | bool |
public DoctorHasExceededMaxDaysThisRotation ( |
||
slot | ||
doctor | Doctor | |
return | bool |
public DoctorWouldExceedMaxConsecutiveShifts ( |
||
slot | ||
doctor | Doctor | |
return | bool |
public static EachDay ( System.DateTime from, System.DateTime thru ) : IEnumerable |
||
from | System.DateTime | |
thru | System.DateTime | |
return | IEnumerable |
public Scheduler ( List |
||
doctors | List |
|
bean | SchedulerBean | |
return | System |