中文

二部图中半匹配与覆盖的Hopcroft-Karp算法推广(二部图中的最大半匹配问题)

数据结构与算法 2018-03-28 v3

摘要

二部图G=(UV,E)G=(U \cup V,E)中的一个(f,g)(f,g)-半匹配是边集MEM \subseteq E,使得每个顶点uUu\in U至多与MM中的f(u)f(u)条边关联,每个顶点vVv\in V至多与MM中的g(v)g(v)条边关联。本文给出一个算法,对于具有nn个顶点和mm条边(nmn\le m)的图,该算法能在O(mmin(uUf(u),vVg(v)))O(m\cdot \min (\sqrt{\sum_{u\in U}f(u)}, \sqrt{\sum_{v\in V}g(v)}))时间内构造一个最大(f,g)(f,g)-半匹配。利用文献[5]的归约,我们关于最大(f,g)(f,g)-半匹配问题的结果直接导出一个最优半匹配问题的算法,其运行时间为O(nmlogn)O(\sqrt{n}m \log n)

关键词

引用

@article{arxiv.1103.1091,
  title  = {A generalization of Hopcroft-Karp algorithm for semi-matchings and covers in bipartite graphs (Maximum semi-matching problem in bipartite graphs)},
  author = {Ján Katrenic and Gabriel Semanisin},
  journal= {arXiv preprint arXiv:1103.1091},
  year   = {2018}
}