arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.0192math.COcs.DSmath.PR
收藏

随机排列、随机数独矩阵与随机算法

Random Permutations, Random Sudoku Matrices and Randomized Algorithms

Krasimir Yordzhev

摘要:

本文综述了几种随机化算法,其中$n$为自然数,用于生成随机数$n^2 \times n^2$数独矩阵。下面描述所有$(2n) \times n$矩阵的集合$Π_n$,其由集合$\mathbb{Z}_n =\{ 1,2,\ldots ,n\}$的元素组成,使得每行都是置换。它被证明,这样的矩阵将是特别有用的,在开发有效的算法生成数独矩阵。本文提出了一种随机$Π_n$矩阵的生成算法。根据两个标准评估算法-概率评估和时间评估。这种类型的标准是有趣的,从理论和实践的角度来看,因为它们是特别有用的计算机程序的分析。

英文摘要:

Some randomized algorithms, used to obtain a random $n^2 \times n^2$ Sudoku matrix, where $n$ is a natural number, is reviewed in this study. Below is described the set $Π_n$ of all $(2n) \times n$ matrices, consisting of elements of the set $\mathbb{Z}_n =\{ 1,2,\ldots ,n\}$, such that every row is a permutation. It is proved that such matrices would be particularly useful in developing efficient algorithms in generating Sudoku matrices. An algorithm to obtain random $Π_n$ matrices is presented in this paper. The algorithms are evaluated according to two criteria - probability evaluation, and time evaluation. This type of criteria is interesting from both theoretical and practical point of view because they are particularly useful in the analysis of computer programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑