Select Decision with Highest Order & Weight Pseudo Code

For each decision

  If decision is still possible

    If decision has highest weight

      Store decision offset

    End if

  End if

Next decision

If any decisions found

  Select the decision with the highest weight and order

End if

 Note: The order of the decision is determined by its position in the Routing Control Configuration tree. The first decision in the tree has the lowest order.

If all decisions have already been eliminated, the logic script will not terminate.

More information

Select Decision with Highest Order & Weight.