A Faster Tree-Decomposition Based Algorithm for Counting Linear Extensions

被引:2
|
作者
Kangas, Kustaa [1 ]
Koivisto, Mikko [2 ]
Salonen, Sami [2 ]
机构
[1] Aalto Univ, Dept Comp Sci, Espoo, Finland
[2] Univ Helsinki, Dept Comp Sci, Helsinki, Finland
关键词
Algorithm selection; Empirical hardness; Linear extension; Multiplication of polynomials; Tree decomposition; COMPLEXITY; FRAMEWORK;
D O I
10.1007/s00453-019-00633-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We investigate the problem of computing the number of linear extensions of a given n-element poset whose cover graph has treewidth t. We present an algorithm that runs in time O(nt+3) for any constant t; the notation hides polylogarithmic factors. Our algorithm applies dynamic programming along a tree decomposition of the cover graph; the join nodes of the tree decomposition are handled by fast multiplication of multivariate polynomials. We also investigate the algorithm from a practical point of view. We observe that the running time is not well characterized by the parameters n and t alone: fixing these parameters leaves large variance in running times due to uncontrolled features of the selected optimal-width tree decomposition. We compare two approaches to select an efficient tree decomposition: one is to include additional features of the tree decomposition to build a more accurate, heuristic cost function; the other approach is to fit a statistical regression model to collected running time data. Both approaches are shown to yield a tree decomposition that typically is significantly more efficient than a random optimal-width tree decomposition.
引用
收藏
页码:2156 / 2173
页数:18
相关论文
共 50 条
  • [41] A Faster Algorithm for Constructing the Frequency Difference Consensus Tree
    Jansson, Jesper
    Sung, Wing-Kin
    Tabatabaee, Seyed Ali
    Yang, Yutong
    Leibniz International Proceedings in Informatics, LIPIcs, 289
  • [42] A Faster Algorithm for Constructing the Frequency Difference Consensus Tree
    Jansson, Jesper
    Sung, Wing-Kin
    Tabatabaee, Seyed Ali
    Yang, Yutong
    41ST INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, STACS 2024, 2024, 289
  • [43] Avoiding the Global Sort: A Faster Contour Tree Algorithm
    Benjamin Raichel
    C. Seshadhri
    Discrete & Computational Geometry, 2017, 58 : 946 - 985
  • [44] DECOMPOSITION OF LINEAR EXTENSIONS OF DYNAMIC-SYSTEMS ON TORUS
    SAMOILENKO, AM
    KULIK, VL
    DOPOVIDI AKADEMII NAUK UKRAINSKOI RSR SERIYA A-FIZIKO-MATEMATICHNI TA TECHNICHNI NAUKI, 1984, (12): : 23 - 26
  • [45] TREE DECOMPOSITION ALGORITHM FOR LARGE NETWORKS
    BLEWETT, WJ
    HU, TC
    NETWORKS, 1977, 7 (04) : 289 - 296
  • [46] An Iterative Heuristic Algorithm for Tree Decomposition
    Musliu, Nysret
    RECENT ADVANCES IN EVOLUTIONARY COMPUTATION FOR COMBINATORIAL OPTIMIZATION, 2008, 153 : 133 - 150
  • [47] EXTENSIONS OF LEMKES ALGORITHM FOR LINEAR COMPLEMENTARITY PROBLEM
    TODD, MJ
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 1976, 20 (04) : 397 - 416
  • [48] High speed multiplexer design using tree based decomposition algorithm
    Basiri, Mohamed Asan M.
    Sk, Noor Mahammad
    MICROELECTRONICS JOURNAL, 2016, 51 : 99 - 111
  • [49] A Differentially private hybrid decomposition algorithm based on quad-tree
    Li, Shuyu
    Geng, Yue
    Li, Yingle
    COMPUTERS & SECURITY, 2021, 109 (109)
  • [50] Spatial Optimal Method of Crowdsourcing Allocation Algorithm Based on Tree Decomposition
    Xia, Hui
    Zhang, Shufeng
    Yang, Weiji
    International Journal of Network Security, 2023, 25 (06) : 935 - 944