欢迎访问《图学学报》 分享到:

图学学报

• 应用与交流 • 上一篇    下一篇

稳定婚姻匹配问题的一个快速枚举算法

  

  • 出版日期:2010-06-30 发布日期:2015-08-11

A Fast Enumeration Algorithm on Stable Marriage Matching Problem

  • Online:2010-06-30 Published:2015-08-11

摘要: :稳定匹配问题是算法理论中的典型问题之一,稳定婚姻匹配问题则是一种解决二部图匹配问题的模型。论文对稳定婚姻匹配问题进行了简单的阐述,并介绍了求解典型稳定婚姻问题的Gale-Shapley算法的基本思想及其性质。为了快速求出所有的稳定匹配结果,提出了基于先序遍历森林的快速枚举算法。由Gale-Shapley算法的性质得到一个定理及其推论,利用得到的推论对算法做了进一步改进和优化。在满足推论的特定条件下,提高了算法的执行效率。

关键词: 计算机应用, 算法理论, 稳定婚姻匹配, 先序遍历, 森林, 枚举

Abstract: The stable matching problem is one of the typical problems in the algorithm theory. The stable marriage matching problem is a model which can be used to solve the problem about bipartite graph matching. In this paper the stable marriage matching problem is introduced briefly, and the basic idea and property of the Gale-Shapley algorithm are described. And then a quick enumeration algorithm based on preorder traversal of forest is designed for quickly enumerating all the stable matching results. A theorem and its inference are derived from the property of the Gale-Shapley algorithm. The algorithm is further improved and optimized by utilizing the inference. The execution time of the original algorithm is improved in specified conditions where the inference is satisfied.

Key words: computer application, algorithm theory, stable marriage matching, preorder traversal, forest, enumeration