Procs
proc edge_count(self: UnionFind; x: int): int {....raises: [], tags: [].}
- xの属するグループの辺の数を返します。 Source Edit
proc has_cycle(self: UnionFind; x: int): bool {....raises: [], tags: [].}
- xの属する連結成分にサイクルがあるかどうかを返します。 Source Edit
proc initUnionFind(N: int): UnionFind {....raises: [], tags: [].}
- Source Edit
proc is_namori(self: UnionFind; x: int): bool {....raises: [], tags: [].}
- xの属する連結成分がなもりグラフかどうかを返します。 Source Edit
proc is_tree(self: UnionFind; x: int): bool {....raises: [], tags: [].}
- xの属する連結成分が木かどうかを返します。 Source Edit