Eliminate Decisions with no Items in Source Pseudo Code

For each decision still possible

  Get the number of items at the source region's head location.

  If head location is empty

    Eliminate the decision.

  End if

Next

More information

Eliminate Decisions with No Items in Source.