首页    期刊浏览 2024年10月05日 星期六
登录注册

文章基本信息

  • 标题:Deriving a Fast Inverse of the Generalized Cantor N-tupling Bijection
  • 本地全文:下载
  • 作者:Paul Tarau
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2012
  • 卷号:17
  • 页码:312-322
  • DOI:10.4230/LIPIcs.ICLP.2012.312
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We attack an interesting open problem (an efficient algorithm to invert the generalized Cantor N-tupling bijection) and solve it through a sequence of equivalence preserving transformations of logic programs, that take advantage of unique strengths of this programming paradigm. An extension to set and multiset tuple encodings, as well as a simple application to a "fair-search" mechanism illustrate practical uses of our algorithms. The code in the paper (a literate Prolog program, tested with SWI-Prolog and Lean Prolog) is available at http://logic.cse.unt.edu/tarau/research/2012/pcantor.pl .
  • 关键词:generalized Cantor n-tupling bijection; bijective data type transformations; combinatorial number system; solving combinatorial problems in Prolog; op
国家哲学社会科学文献中心版权所有