Setting Up Algorithm Calculation Execution Conditions

After adding and setting up parameters of calculation algorithm one can set up calculation algorithm execution conditions by means of branchings. Branching is used to create conditions for executing single elements of calculation algorithm.

To set up calculation algorithm execution conditions:

  1. Select the Add Branching item in the drop-down menu of the Add Branching button on the toolbar. As a result, a branching in the calculation tree and the Else condition are created:

To rename the branching, select the Rename item in the branching's context menu. Enter a new name and press the ENTER key. The branching will be renamed.

  1. Select the created branching and select the Add Branch item in the drop-down menu of the Add Branching button. As a result, a branch is created in the branching:

NOTE. The number of branches in the branching is unlimited. If there are several branches, only the first branch, which condition is executed, is calculated by default.

To rename the branch, select the Rename item in the branch's context menu. Enter a new name and press the ENTER key. The branch will be renamed.

  1. Select the element in the calculation tree and drag it to the Branch and Else conditions. To select and move several elements, hold down the CTRL or SHIFT key.

  1. Open the Branch Execution Conditions - <branch name> dialog box to set branch execution conditions by means of the Branching Parameters item in the branch's context menu.

As a result, the Branch Execution Conditions - <branch name> dialog box opens:

  1. Click the Add button to add a condition:

  1. Set the parameters:

NOTE. It is available only for the Parameter condition type.

NOTE. It is available only for the Parameter condition type. The set of displayed condition types depends on the parameter or data type of its attribute selected in the Branching Parameter column.

The created formula will be displayed as a string disabled for editing in the Value column.

NOTE. The formula can be set and edited only in the Branch Condition Formula dialog box.

To delete a condition, select the condition and click the Delete button.

  1. Click the OK button.

After executing the operations, algorithm calculation execution conditions will be set up.

See also:

Building Calculation Algorithm