Determine if a subset is connected.
Declared in <cluster_linearize.h>
bool
IsConnected(SetType const& subset) const noexcept;
Complexity: O(subset.Count()).
Whether subset forms a single connected component.
| Name | Description |
|---|---|
| subset | The set of positions to test. |