ICSE 2001 Logo   Rigi Logo
 
rcl_select_weak_connect
Back to RCL Command Index

No arguments accepted.

Description:

The all composite arcs in the active window are scanned. (Composite arcs are collections of arcs represented by a single line between two "Collapsed" nodes.) If the number of contributors to a composite arc is less than or equal to the low threshold (see rcl_set_low_thresholds), the destination and source nodes of the composite arc are selected. Any unconnected nodes in the window are selected as well. Arc type filtering is ignored by this procedure see rcl_filter_arctype). The rcl_select_invert can be used with this command to select all those nodes that have no weak connections. See also rcl_select_strong_connect.

Return Value:

The number of nodes selected is returned.

Exceptions:

None.

Example:

# Set the threshold to 3 or fewer contributors and select the
# weakly connected nodes. Then invert the selection to determine
# which nodes have no composite arcs with 3 or fewer contributors.

rcl_set_high_thresholds 3
rcl_select_weak_connect
rcl_select_invert

Back to RCL Command Index