首页 | 本学科首页   官方微博 | 高级检索  
     

多重集划分快速生成算法
引用本文:牟廉明. 多重集划分快速生成算法[J]. 内江师范学院学报, 2010, 25(8): 26-31
作者姓名:牟廉明
作者单位:内江师范学院数学与信息科学学院//四川省高等学校数值仿真重点实验室,四川,内江,641100
基金项目:四川省教育厅教改资助项目,四川省科技厅应用基础研究基金资助,内江师范学院教改资助项目,内江师范学院自然科学基金 
摘    要:通过引入两种新结构:有序搜索树和向量进制运算,设计了多重集划分和多重集k划分的有效非递归生成算法,并对算法的正确性和有效性进行了分析.算法可以在划分数的线性时间复杂度内生成所有划分,并且在平均意义下可以用常量时间由一个划分生成下一个划分.同时,该算法可用于整数拆分、普通集合划分以及其它组合生成问题。

关 键 词:多重集划分  向量拆分  向量进制  有序搜索树

Fast Algorithm for Generating Multiset Partitions
MOU Lian-ming. Fast Algorithm for Generating Multiset Partitions[J]. Journal of Neijiang Teachers College, 2010, 25(8): 26-31
Authors:MOU Lian-ming
Affiliation:MOU Lian-ming(School of Mathematics &Information Science//Key Laboratory of Numerical Simulation of Sichuan Province,Neijiang Normal University,Neijiang,Sichuan 641100,China)
Abstract:Effective Generation of multiset partitions has many practical applications.The partition of multiset is cleverly translated into the unordered split of integer vector in this article.Through the introduction of two new structures,the ordered search tree and the vector-based operation,the effective generation of non-recursive algorithms for the partition of multiset and multiset k-partitions is thus developed,the correctness and validity of which is also analyzed.The said algorithm is capable of generating all multiset partitions within the linear time complexity of number partitions,and in an average sense,by use of a constant time any partition can be generated by some other partition.Also such an algorithm can find applications in solving problems of combinational generation like integer splits and set partitions.
Keywords:multiset partitions  vector partitions  vector-based system  ordered search tree
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号