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 条
  • [21] A divide-and-conquer approach to geometric sampling for active learning
    Cao, Xiaofeng
    EXPERT SYSTEMS WITH APPLICATIONS, 2020, 140 (140)
  • [23] Space-efficient geometric divide-and-conquer algorithms
    Bose, Prosenjit
    Maheshwari, Anil
    Morin, Pat
    Morrison, Jason
    Smid, Michiel
    Vahrenhold, Jan
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2007, 37 (03): : 209 - 227
  • [24] JuliusC: A practical approach for the analysis of divide-and-conquer algorithms
    D'Alberto, P
    Nicolau, A
    LANGUAGES AND COMPILERS FOR HIGH PERFORMANCE COMPUTING, 2005, 3602 : 117 - 131
  • [25] A sample implementation for parallelizing Divide-and-Conquer algorithms on the GPU
    Mei, Gang
    Zhang, Jiayin
    Xu, Nengxiong
    Zhao, Kunyang
    HELIYON, 2018, 4 (01):
  • [26] Modeling and simulation of parallel adaptive divide-and-conquer algorithms
    Barros, Fernando J.
    JOURNAL OF SUPERCOMPUTING, 2008, 43 (03): : 241 - 255
  • [27] SUPPORTING DIVIDE-AND-CONQUER ALGORITHMS FOR IMAGE-PROCESSING
    STOUT, QF
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1987, 4 (01) : 95 - 115
  • [28] Divide-and-conquer algorithms for graph-layout problems
    Swaminathan, R
    NETWORKS, 1996, 28 (02) : 69 - 85
  • [29] Divide-and-Conquer Algorithms for Partitioning Hypergraphs and Submodular Systems
    Okumoto, Kazumasa
    Fukunaga, Takuro
    Nagamochi, Hiroshi
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2009, 5878 : 55 - +
  • [30] Divide-and-Conquer Algorithms for Partitioning Hypergraphs and Submodular Systems
    Okumoto, Kazumasa
    Fukunaga, Takuro
    Nagamochi, Hiroshi
    ALGORITHMICA, 2012, 62 (3-4) : 787 - 806