Normalizing Cardinality Rules Using Merging and Sorting Constructions

被引:0
|
作者
Bomanson, Jori [1 ]
Janhunen, Tomi [1 ]
机构
[1] Aalto Univ, Helsinki Inst Informat Technol HIIT, Dept Informat & Comp Sci, FI-00076 Aalto, Finland
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Answer-set programs become more expressive if extended by cardinality rules. Certain implementation techniques, however, presume the translation of such rules back into normal rules. This has been previously realized using a BDD-based transformation which may produce a quadratic number of rules in the worst case. In this paper, we present two further constructions which are based on Boolean circuits for merging and sorting and which have been considered, e. g., in the context of the propositional satisfiability (SAT) problem and its extensions. Such circuits can be used to express cardinality constraints in a more compact way. Thus, in order to normalize cardinality rules, we first develop an ASP encoding of a sorting circuit, on top of which the second translation, one encoding a selection circuit, is devised. Because sorting is more general than cardinality checking, we also present ways to prune the resulting sorting and selection programs. The experimental part illustrates the compactness of the new normalizations and points out cases where computational performance is improved.
引用
收藏
页码:187 / 199
页数:13
相关论文
共 50 条
  • [1] Cardinality estimation using normalizing flow
    Jiayi Wang
    Chengliang Chai
    Jiabin Liu
    Guoliang Li
    The VLDB Journal, 2024, 33 (2) : 323 - 348
  • [2] Cardinality estimation using normalizing flow
    Wang, Jiayi
    Chai, Chengliang
    Liu, Jiabin
    Li, Guoliang
    VLDB JOURNAL, 2024, 33 (02): : 323 - 348
  • [3] Sorting by merging or merging by sorting?
    Franceschini, Gianni
    ALGORITHM THEORY - SWAT 2006, PROCEEDINGS, 2006, 4059 : 77 - 89
  • [4] SORTING BY MERGING
    JONES, RW
    COMPUTER JOURNAL, 1959, 2 (02): : 95 - 95
  • [5] FACE: A Normalizing Flow based Cardinality Estimator
    Wang, Jiayi
    Chai, Chengliang
    Liu, Jiabin
    Li, Guoliang
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 15 (01): : 72 - 84
  • [6] SORTING AND MERGING ON THE DAP
    BHAGAVATHI, D
    DENNY, WM
    GROSCH, CE
    LOOGES, PJ
    OLARIU, S
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 1994, 9 (03): : 175 - 183
  • [7] SORTING AND MERGING IN ROUNDS
    HAGGKVIST, R
    HELL, P
    SIAM JOURNAL ON ALGEBRAIC AND DISCRETE METHODS, 1982, 3 (04): : 465 - 473
  • [8] Association Rules: Normalizing the Lift
    Lobo, Desmond
    2014 NINTH INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT (ICDIM), 2014, : 151 - 155
  • [9] SORTING BY MERGING IN A PARALLEL COMPUTER
    CHARNAYA, IS
    AUTOMATION AND REMOTE CONTROL, 1981, 42 (09) : 1281 - 1284
  • [10] Optimum combinations of sorting and merging
    Manacher, G.K., 1600, (36):