Parallel Generation of Permutations by Inversion Vectors

H. Thanh
{"title":"Parallel Generation of Permutations by Inversion Vectors","authors":"H. Thanh","doi":"10.1109/rivf.2012.6169840","DOIUrl":null,"url":null,"abstract":"Permutations of a set are used in many practical problems. There are some algorithms for generating permutations of a set, e.g. a reverse alphabetical order algorithm, an algorithm based on adjacent transpositions, an algorithm determining permutations from their reductions... But these algorithms are rather long and difficult to parallelize. In this paper we point out that the set of all permutations of a set is isomorphic to the set of their inversion vectors. Thus, we construct a new algorithm determining permutations from their inversion vectors. The algorithm is simpler and shorter than existing ones. Furthermore, this algorithm is easy to parallelize. We parallelize the proposed algorithm by one of two methods. The first one is tasks dividing: 1) finding an inversion vector, and 2) determining a permutation from the just found inversion vector. Two these tasks are performed in parallel with equal computing amounts. The second parallelizing method is based on splitting the sequence of all desirable permutations into subsequences and then concurrently generating the subsequences.","PeriodicalId":115212,"journal":{"name":"2012 IEEE RIVF International Conference on Computing & Communication Technologies, Research, Innovation, and Vision for the Future","volume":"67 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 IEEE RIVF International Conference on Computing & Communication Technologies, Research, Innovation, and Vision for the Future","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/rivf.2012.6169840","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Permutations of a set are used in many practical problems. There are some algorithms for generating permutations of a set, e.g. a reverse alphabetical order algorithm, an algorithm based on adjacent transpositions, an algorithm determining permutations from their reductions... But these algorithms are rather long and difficult to parallelize. In this paper we point out that the set of all permutations of a set is isomorphic to the set of their inversion vectors. Thus, we construct a new algorithm determining permutations from their inversion vectors. The algorithm is simpler and shorter than existing ones. Furthermore, this algorithm is easy to parallelize. We parallelize the proposed algorithm by one of two methods. The first one is tasks dividing: 1) finding an inversion vector, and 2) determining a permutation from the just found inversion vector. Two these tasks are performed in parallel with equal computing amounts. The second parallelizing method is based on splitting the sequence of all desirable permutations into subsequences and then concurrently generating the subsequences.
用反转向量并行生成排列
集合置换在许多实际问题中都有应用。有一些算法用于生成集合的排列,例如逆字母顺序算法,基于相邻换位的算法,从它们的约简中确定排列的算法……但这些算法相当长,难以并行化。本文指出了一个集合的所有置换的集合与它们的逆向量的集合同构。因此,我们构造了一种新的算法,从它们的反转向量确定排列。该算法比现有算法更简单、更短。此外,该算法易于并行化。我们通过两种方法中的一种来并行化所提出的算法。第一个是任务划分:1)找到一个反转向量,2)从刚刚找到的反转向量确定一个排列。两个这样的任务以相等的计算量并行执行。第二种并行化方法是将所有期望的排列序列分割成子序列,然后并发地生成子序列。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信