algo — C++23 日本語リファレンス GitHub

scc

関数 · 強連結成分分解

template <graph_type G>
std::vector<int> scc(const G &g);

概要

強連結成分分解

テンプレートパラメータ

名前 説明
G グラフ型(list_graph<T> / csr_graph<T> のいずれでも可)

計算量

関連項目