group
コンセプト · ポテンシャル付き素集合データ構造(可換・非可換どちらの群でも可)
template <class T>
concept group = multiplicative_group<T> || additive_group<T>;
概要
potentialized_union_find が扱える群
計算量
- コンパイル時の型制約のため実行時コストなし
関連項目
additive_group— 加法的に書かれた可換群か(合成+・逆元 単項-・単位元T(0))multiplicative_group— 乗法的に書かれた群か(合成*・逆元.inv()・単位元T())group_identity— 群 T の単位元group_op— 群 T の二項演算 a・bgroup_inv— 群Tの逆元 $a^{-1}$potentialized_union_find— ポテンシャル付き素集合データ構造(可換・非可換どちらの群でも可)