Eliminate Decisions Based on Region Status Pseudo Code

For each decision in the decision list.

    Get data on source region

   If (first parameter is true and head item not valid then

           Eliminate the decision.

   Else if (second parameter is true and region is waiting on a decision then

           Eliminate Decision

   Else if (third parameter is true and source region is out0locked then

     Eliminate Decision

   End if

Next

For each decision in the decision list.

    Get data on destination region

   If (third parameter is true and the destination region is in-locked then

     Eliminate Decision

   Else if (fourth parameter is true And the destination region is full

     Eliminate Decision

   End if

Next

More information

Eliminate Decisions Based on Region Status.