Research Article

Supervisor Reconfiguration for Deadlock Prevention by Resources Reallocation

Algorithm 1

Structure design of a controlled system for .
Input: an ordinary M-net with
Output:
begin {
,
,
if  {there exists an optimal controlled system for    then
 design a controlled system for by the theory of regions
else
 design a controlled system for by the method in [18]
end if
,
if   is an ordinary controlled system}   then
 output
else
 exit and stop the algorithm
end if
output
} end of the algorithm