The Doctor Rostering Problem - Asser Fahrenholz
The Doctor Rostering Problem - Asser Fahrenholz
The Doctor Rostering Problem - Asser Fahrenholz
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 8<br />
Future considerations<br />
This chapter describes suggested improvements to the implemented methods for solving<br />
the DRP. It is a goal of this chapter that the descriptions are as thorough as possible,<br />
allowing the reader to gain a complete understanding of how it was to be implemented,<br />
should the time horizon on this project have allowed it.<br />
8.1 User-added rules - relation/logic of shifts<br />
As noted earlier, the rules of this project has been hard-coded. This means that no<br />
rules can be added or removed by the end user. For the end the user to be able to<br />
dynamically add rules, a framework is needed, that described how the elements in the<br />
rule are structured and what these elements can consist of. In the following, I describe<br />
the type of some of the rules that chapter 3 covers, such that the reader may gain an<br />
idea of how this was to be implemented if there had been time to do so (note, other<br />
types of rules could be devised as well):<br />
Type 1 is the basic ’if you have this shift, you can not have that shift’-rule: <strong>The</strong> user<br />
is given a starting point from which to define the rule. To start off, we assume<br />
all doctors to be equal so all rules apply to all doctors and all rules to apply to<br />
all days and shifts. Let us call the starting point of a rule p(i, j), where i defines<br />
the days and j defines the shift on that day. One way to define a user added rule<br />
could be to construct three basic elements in the rule:<br />
1. the starting point: a set P1 of starting points p(i, j)<br />
2. a comparator: =, =, ≤, ≥, < or ><br />
3. the end point: a set P2 of end points<br />
53