#include "../../kyopro_library/template.hpp"
#include "../../kyopro_library/graph/flow/max_flow.hpp"
クラス | |
struct | BiInfo |
二部グラフのパラメータ [詳解] | |
関数 | |
vector< pair< int, int > > | BipartiteMatching (const vector< vector< int > > &g) |
二部グラフの最大マッチングを返す | |
BiInfo | GetBiInfo (const vector< vector< int > > &g) |
二部グラフのパラメータを求める | |
vector< pair< int, int > > BipartiteMatching | ( | const vector< vector< int > > & | g | ) |
二部グラフの最大マッチングを返す
bipartite_matching.hpp の 7 行目に定義があります。
参照先 MaxFlow::add_edge(), MaxFlow::flow(), MaxFlow::MaxFlow().
BiInfo GetBiInfo | ( | const vector< vector< int > > & | g | ) |
二部グラフのパラメータを求める
bipartite_matching.hpp の 42 行目に定義があります。
参照先 BiInfo::max_independent_set, BiInfo::max_matching, BiInfo::min_edge_cover, BiInfo::min_vertex_cover.