e.g. there is a connected_components method which looks like it might be related to your problem (perhaps not, depending on whether the ordering in your problem is an artifact of your example or not).
In reply to Re: Link Connectivity Algorithim
by jbert
in thread Link Connectivity Algorithim
by dunkirk_phil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |