Blame view

doc/uml/activities/scheduler/make_schedule_act.txt 1000 Bytes
64fc9a89   Etienne Pallier   - un peu de refac...
1
2
3
4
5
6
7
8
9
@startuml

'skinparam backgroundColor #AAFFFF

skinparam activity {
  'StartColor red
  'BarColor SaddleBrown 
  'EndColor Silver
  'BackgroundColor Peru
578613de   Etienne Pallier   renamed activity ...
10
  BackgroundColor<<MODULE>> Orange
64fc9a89   Etienne Pallier   - un peu de refac...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  'BorderColor Peru
  'FontName Impact
}




title **Scheduler.make_schedule()** (//Make Schedule//)

(*) --> "//Schedule Creation// \n//see specification document 'Module PLANNING'//" <<MODULE>>

	--> if "First Schedule" then
		--> [True] "schedule.plan_night_start = schedule.plan_start"
		--> "sequences = {all OBSERVABLE sequences}" as A2
	else
		--> [False] "//Copy needed data from previous schedule : EXECUTED sequences, plan_night_start, plan_end// 
		copy_from_previous_schedule()\l" <<MODULE>>
	endif
	--> A2
    --> "//Add to each sequence its schedule id:// 
    sequences = [(sequence, shs) for sequence in sequences]"
    
	--> "//Order schedule sequences according to efficiency criteria (priority, set time, ...)// 
	compute_schedule()\l" <<MODULE>>

    --> Save schedule
    
	--> (*)

@enduml