摘要
本文介绍了全部n阶置换的生成算法和由任一序号m(0≤m≤|Sn|-1)求出与(n,(n-1)!)—拉丁阵中序号相同的列的算法;并利用拉丁阵的组合性质和以上两个算法随机生成了一个(n,(n-1)!)—拉丁阵。
In this paper,an algorithm which generates all of the permutations of order n is introduced.Furthermore,an algorothm to find the mth permutation for any m which corresponds to the order of (n,(n-1)!)—Latin array is presented.Taking the advantages of the combinatorial property and the two algorithms above,one can generate an (n,(n-1)!)-latin array at random.
出处
《广西工学院学报》
CAS
1997年第4期5-8,共4页
Journal of Guangxi University of Technology