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


An optimal algorithm for generating equivalence relations on a linear array of processors
Authors:Ivan Stojmenovi?
Institution:(1) Computer Science Department, University of Ottawa, K1N 9B4 Ottawa, Ontario, Canada;(2) Institute of Mathematics, University of Novi Sad, Yugoslavia
Abstract:We describe a cost-optimal parallel algorithm for enumerating all partitions (equivalence relations) of the set {1, ...,n}, in lexicographic order. The algorithm is designed to be executed on a linear array of processors. It usesn processors, each having constant size memory and each being responsible for producing one element of a given set partition. Set partitions are generated with constant delay leading to anO(B n) time solution, whereB n is the total number of set partitions. The same method can be generalized to enumerate some other combinatorial objects such as variations. The algorithm can be made adaptive, i.e. to run on any prespecified number of processors. To illustrate the model of parallel computation, a simple case of enumerating subsets of the set {1, ...,n}, having at mostm (len) elements is also described.The research is partialy supported by NSERC operating grant OGPIN 007.
Keywords:C  1  F  2
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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