Research Article

Answer Set versus Integer Linear Programming for Automatic Synthesis of Multiprocessor Systems from Real-Time Parallel Programs

Algorithm 2

Deadline relaxation during RMA.
(1)for each , set parent deadline to zero
(2)while is not empty do
(3)if is circular then
(4)  select such that for all
(5)else
(6) select with no parent in
(7)end if
(8)for each child of in do
(9)if parent deadline then
(10) set parent deadline to
(11)end if
(11)end for
(12)if had a parent in then
(13) parent deadline
(14)end if
(15)remove from
(17)end while