We give an efficient perfect sampling algorithm for weighted, connected induced subgraphs (or graphlets) of rooted, bounded degree graphs. Our algorithm utilizes a vertex-percolation process with a carefully chosen rejection filter and works under a percolation subcriticality condition. We show that this condition is optimal in the sense that the task of (approximately) sampling weighted rooted graphlets becomes impossible in finite expected time for infinite graphs and intractable for finite graphs when the condition does not hold. We apply our sampling algorithm as a subroutine to give near linear-time perfect sampling algorithms for polymer models and weighted non-rooted graphlets in finite graphs, two widely studied yet very different problems. This new perfect sampling algorithm for polymer models gives improved sampling algorithms for spin systems at low temperatures on expander graphs and unbalanced bipartite graphs, among other applications.
翻译:我们给出了一种高效的完美抽样算法,用于根基、封闭度图形的加权、连接诱导子图(或石墨)。我们的算法使用一个有精心选择的拒绝过滤器的顶端对比过程,并在一个穿孔次临界状态下工作。我们表明,这一条件最理想,因为(大约)取样的基尖石墨的任务在无限图的有限预期时间内是不可能完成的,在条件无法维持的情况下,对定点图形的易碎。我们用我们的取样算法作为子,为聚合物模型和定点图中的加权非固定式石墨提供接近线性时间的完美取样算法,这是两个广泛研究但非常不同的问题。对于聚合物模型的这种新的完美取样算法,除其他应用外,为扩张式图和不平衡的双片图的低温旋转系统提供了更好的取样算法。