Research Article

Phase Transitions of Contingent Planning Problem

Algorithm 2

Contingent plan-existence algorithm.
Algorithm CONTINGENT PLAN-EXISTENCE
;
for each  
  if
  then ;
 endfor
if
 then returntrue
 for each  
  if applicable and and
  then ;
;
;
    CONTINGENT PLAN-EXISTENCE ;
 endfor
 for each  
;
;
     if and
     then CONTINGENT PLAN-EXISTENCE
      CONTINGENT PLAN-EXISTENCE
 endfor
 returndon’t know
end