Commit 0092f44304a243460ce48b7499cbfccf958b1d71

Authored by Etienne Pallier
1 parent 2a8d74fa
Exists in dev

update diagram

Showing 1 changed file with 6 additions and 5 deletions   Show diff stats
doc/uml/activities/scheduler/Scheduling.txt
... ... @@ -12,12 +12,13 @@ skinparam activity {
12 12 'FontName Impact
13 13 }
14 14  
15   -title **Actual scheduling algorithm (general overview)**
  15 +title **Current (2017) scheduling activity diagram (general overview)**
16 16  
17   -(*) --> "Schedule Creation"
  17 +(*) --> "schedule = (Schedule Creation)"
  18 + --> "Set night limits (schedule.plan_start and schedule.plan_end)"
18 19 --> if "First Schedule ?" then
19 20 -->[yes] "schedule.plan_night_start = schedule.plan_start"
20   - --> "Setting of <b>sequences</b> : a list of all the observable sequences" as A2
  21 + --> "Setting of <b>sequences</b> : a list of all the observable sequences (from database)" as A2
21 22 else
22 23 -->[no] "<b>Recovery of previous schedule's data:</b>
23 24 EXECUTED sequences, plan_night_start, plan_end
... ... @@ -33,7 +34,7 @@ title **Actual scheduling algorithm (general overview)**
33 34 bad parameters : jd1 < 0 for example
34 35 removeInvalidSequences()"<<MODULE>>
35 36  
36   - --> "#TODO <b>Determine priorities according to user and SP</b>"<<MODULE>>
  37 + --> "// TODO: <b>Determine priorities according to user and SP</b>"<<MODULE>>
37 38  
38 39 -->"<b>Remove non eligible sequences</b>
39 40 //remove UNPLANNABLE sequences : overlap [jd1; jd2], [plan_start; plan_end] < duration for example//
... ... @@ -67,7 +68,7 @@ title **Actual scheduling algorithm (general overview)**
67 68 --> if "Sequence PLACED ?" then
68 69 -->[yes] "Decrease quota()" <<MODULE>>
69 70 -->"<b>Save Schedule</b>
70   - //set the sequence's status at PLANNED//
  71 + //set the sequence status to PLANNED//
71 72 //and save the new schedule//
72 73 saveSchedule()"<<MODULE>>
73 74 else
... ...