Union-Find union algorithm: Merge two labels, return the result.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | x | Labels to merge. |
||
integer, | intent(in) | :: | y | Labels to merge. |
||
integer, | intent(inout), | dimension(:) | :: | labels | List of labels. |