Edit Selection Probability

The Edit Selection Probability command enables you to specify the probability of choosing a specific branch on a select construct or an exit branch from a multiple-exit function, as appropriate. When specified, the selection probability is displayed on Activity diagrams and EFFBDs at the front of the corresponding branch below the control flow line.

 

For a branch on a select construct, the selection probability is stored as part of the function's structure. For an exit branch, the selection probability corresponds to the selection probability attribute on the exits by relationship.

 

 

 

     

NOTE:

Though it is most common for the selection probabilities for all branches in a construct to sum to 1, there is no constraint on the values entered. If your path selection information is based on trial data or other information, it is not necessary to convert the data. For example, if in a two-branch select node, the first branch is taken 4 times and the second branch is taken 13 times and these values are entered as selection probabilities, during execution there will be a 4/17 (or 23.5% chance of taking the first branch).