Exact Sampling Algorithms for Latin Squares and Sudoku Matrices via Probabilistic Divide-and-Conquer

被引:2
|
作者
DeSalvo, Stephen [1 ]
机构
[1] Univ Calif Los Angeles, Dept Math, 520 Portola Plaza, Los Angeles, CA 90095 USA
关键词
Random sampling; Latin square; Sudoku; Probabilistic divide-and-conquer; Rejection sampling; PARTITIONS; GENERATION;
D O I
10.1007/s00453-016-0223-y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We provide several algorithms for the exact, uniform random sampling of Latin squares and Sudoku matrices via probabilistic divide-and-conquer (PDC). Our approach divides the sample space into smaller pieces, samples each separately, and combines them in a manner which yields an exact sample from the target distribution. We demonstrate, in particular, a version of PDC in which one of the pieces is sampled using a brute force approach, which we dub almost deterministic second half, as it is a generalization to a previous application of PDC for which one of the pieces is uniquely determined given the others.
引用
收藏
页码:742 / 762
页数:21
相关论文
共 50 条