Block by Attribute Pseudo Code

For each decision

  Get Item at specified source region location

  If there are items in the source region

    Get item at tail destination region location

    If there are items in the destination region

      If the attribute values do not match

         Eliminate the decision

      End if

      Else

         Eliminate the decision because there are no

         Items in the destination region

      End if

    Else

      Eliminate the decision because there are no items

      In the source location

    End if

  Next

 Note: If no items of the specified class are contained in the source region or in the destination region, then the decision is eliminated.

More information

Block by Attribute.