Data Structures for Weighted Matching and Extensions to b-matching and f-factors

被引:25
作者
Gabow, Harold N. [1 ]
机构
[1] Univ Colorado, Dept Comp Sci, Boulder, CO 80309 USA
基金
美国国家科学基金会;
关键词
Matching; b-matching; f-factor; blossom; degree-constrained subgraph; shortest-paths tree; conservative graph; T-join; MINIMUM SPANNING-TREES; EFFICIENT IMPLEMENTATION; SENSITIVITY-ANALYSIS; ALGORITHM;
D O I
10.1145/3183369
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This article shows the weighted matching problem on general graphs can be solved in time O(n(m + n log n)) for n and m the number of vertices and edges, respectively. This was previously known only for bipartite graphs. The crux is a data structure for blossom creation. It uses a dynamic nearest-common-ancestor algorithm to simplify blossom steps, so they involve only back edges rather than arbitrary nontree edges. The rest of the article presents direct extensions of Edmonds' blossom algorithm to weighted b-matching and f-factors. Again, the time bound is the one previously known for bipartite graphs: for b-matching the time is O(min{b(V), n log n} (m + n log n)) and for f-factors the time is O(min{f (V) , m log n}(m + n log n)), where b(V) and f (V) both denote the sum of all degree constraints. Several immediate applications of the f-factor algorithm are given: The generalized shortest path structure of Reference [19], i.e., the analog of the shortest-paths tree for conservative undirected graphs, is shown to be a version of the blossom structure for f-factors. This structure is found in time O(vertical bar N vertical bar(m + n log n)) for N, the set of negative edges (0 < vertical bar N vertical bar < n). A shortest T-join is found in time O(n(m + n log n)) or O(vertical bar T vertical bar(m + n log n)) when all costs are nonnegative. These bounds are all slight improvements of previously known ones, and are simply achieved by proper initialization of the f-factor algorithm.
引用
收藏
页数:80
相关论文
共 38 条
  • [1] Aho Alfred V., 1974, The Design and Analysis of Computer Algorithms
  • [2] Ahuja RK, 1993, Network flows
  • [3] [Anonymous], 1995, Handbooks in OR and MS
  • [4] [Anonymous], 1983, Data structures and network algorithms
  • [5] [Anonymous], THESIS
  • [6] [Anonymous], 2001, Combinatorial optimization: networks and matroids
  • [7] A POLYNOMIAL ALGORITHM FOR B-MATCHINGS - AN ALTERNATIVE APPROACH
    ANSTEE, RP
    [J]. INFORMATION PROCESSING LETTERS, 1987, 24 (03) : 153 - 157
  • [8] AN ANALYSIS OF ALTERNATIVE STRATEGIES FOR IMPLEMENTING MATCHING ALGORITHMS
    BALL, MO
    DERIGS, U
    [J]. NETWORKS, 1983, 13 (04) : 517 - 549
  • [9] Dynamic LCA queries on trees
    Cole, R
    Hariharan, R
    [J]. SIAM JOURNAL ON COMPUTING, 2005, 34 (04) : 894 - 923
  • [10] Cook W., 1998, COMBINATORIAL OPTIMI