Commit 14f8655d authored by Markus Klinik's avatar Markus Klinik
Browse files

describe example solution

parent 2a384052
No preview for this file type
This diff is collapsed.
This diff is collapsed.
......@@ -92,8 +92,18 @@ Calculating the distance between a person and a room in this model is a simple s
This example wants to show where this kind of computation fits into the scenario.
The cooking, swabbing and meeting tasks are there to provide some noise for the scheduler.
The swab deck tasks have no capability function, any crew member is equally suited to do them.
The staff meeting needs the commander and the section leaders present, there is no variation in the assignment, the scheduler just has to find a time slot where all required people are free.
\Cref{fig:realistic-scenario} shows a solution for this scenario.
The important points to observe are as follows.
The tasks LoadAmmunition, PrepareWeapon, PreActionCalibration, and UseWeapon all need a weapon that can engage small surface targets, and the same weapon should be assigned to all those tasks.
After all, it does not make sense to load ammunition for a gun but then engage with another one.
In the problem instance this constraint is modelled using resource affinity, and the scheduler only produces solutions where the constraint is satisfied.
The model of the ship has 30 rooms, and the crew is distributed over the first ten.
The capability function tries to assign blanket search tasks of rooms to people who are close to the rooms.
This is why people in room 10 tend to get more blanket search tasks for rooms 11 to 30 than people in room 1.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment