Pill scheduling - PowerPoint PPT Presentation

About This Presentation
Title:

Pill scheduling

Description:

Pill scheduling Constraints periodic tasks dependency Constraints precedence ... – PowerPoint PPT presentation

Number of Views:61
Avg rating:3.0/5.0
Slides: 16
Provided by: csie6
Category:
Tags: pill | scheduling

less

Transcript and Presenter's Notes

Title: Pill scheduling


1
Pill scheduling
2
Dispenser schedule and drop medicines, check
constraints,
Container check whether user take the medicine
on time or not.
3
Dispenser ? 8 ??????, ???? Container ?? 2
??????, ? 82 ????????? timeout ??, ???????????,
5 ????????????
A(d,1)
A(d,2)
(5, 2)
8
13
4
Constraints
  • periodic tasks
  • ????,?? dependency ??,???????????????

5
Constraints
  • precedence constraint
  • ?????????, C depend on A ,??? A ??? C?

6
Constraints
  • temporal distance constraint
  • ?????????????????? A ? B ??????????? 2 hours ?
    C ? D ??????????? 1 hour ?

7
  • timeout event
  • ???????????,????,?????,?????????????????

8
  • II Implementation

9
  • USER INPUT
  • PARSE AND CHECK LOOP
  • SIMULATE
  • RUN RUN RUN

10
  • USER INPUT
  • Pre ?? 700 ?? 1200 ?? 1800 ??
    2300
  • A (??) ????
  • B (???) ????
  • C (???) ???? ?? A ??
  • D (??) ????
  • E (???) ??

11
  • PARSE AND CHECK LOOP
  • ???? parameter
  • A (??) ???? -
    meal - 1,1 - A
  • B (???) ???? -
    meal - 1,1 - B
  • C (???) ???? ?? A ?? - A_eated -
    1, - C
  • D (??) ???? -
    meal
  • E (???) ?? -
    sleep
  • ??????? loop ???

12
  • SIMULATE

A
C
A
C
A
C
D
D
D
E
B
B
B
13
  • SIMULATE (????)

A
C
A
C
D
D
D
E
B
B
14
  • SIMULATE(????)

A
C
A
C
A
C
D
D
D
E
B
B
B
15
Check constraints
  • ???????????????,??? temporal distance constraints
    ?
  • Timeout event ???,??? alarm ??? timeout event
    ???????????????????
Write a Comment
User Comments (0)
About PowerShow.com