Evaluation of declarative n-queens recursion: A deductive database approach

被引:1
|
作者
Han, JW [1 ]
Liu, L [1 ]
Lu, T [1 ]
机构
[1] Simon Fraser Univ, Sch Comp Sci, Burnaby, BC V5A 1S6, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
declarative programming; logic programming; deductive database; search; constraint-based processing; query evaluation; implementation techniques;
D O I
10.1016/S0020-0255(97)10019-6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Can we evaluate a logic program declaratively? That is, can a logic program be evaluated correctly and efficiently, independent of query modes and rule/predicate ordering, finding a complete set of answers, and terminating properly? the answer could be "yes", at least for a good subclass of logic programs, based on our investigation and experimentation using a deductive database approach. In this paper, an n-queens problem, a classical logic program, is used as a running example to demonstrate the methodology. Our analysis shows that binding analysis and constraint exploration are two essential issues in the realization of declarative logic programming. The limitations of our methodology are also discussed in the paper. (C) 1998 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:69 / 100
页数:32
相关论文
共 50 条
  • [21] Polynomial modular n-queens solutions
    Bell, Jordan
    ACTA ARITHMETICA, 2007, 129 (04) : 335 - 339
  • [22] Regular solutions of the n-queens problem on the torus
    Burger, AP
    Mynhardt, CM
    Cockayne, EJ
    UTILITAS MATHEMATICA, 2004, 65 : 219 - 230
  • [23] A polynomial time algorithm for the n-queens problem
    El-Qawasmeh, E
    Al-Noubani, K
    Proceedings of the Second IASTED International Conference on Neural Networks and Computational Intelligence, 2004, : 191 - 195
  • [24] Complexity of n-Queens Completion (Extended Abstract)
    Gent, Ian P.
    Jefferson, Christopher
    Nightingale, Peter
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 5608 - 5611
  • [25] Neural networks for the N-Queens Problem: a review
    Mandziuk, J
    CONTROL AND CYBERNETICS, 2002, 31 (02): : 217 - 248
  • [26] The N-queens Problem on a symmetric Toeplitz matrix
    Szaniszlo, Zsuzsanna
    Tomova, Maggy
    Wyels, Cindy
    DISCRETE MATHEMATICS, 2009, 309 (04) : 969 - 974
  • [27] THE MODULAR N-QUEENS PROBLEM IN HIGHER DIMENSIONS
    NUDELMAN, SP
    DISCRETE MATHEMATICS, 1995, 146 (1-3) : 159 - 167
  • [28] RAKHYA'S Method: A Case Based Approach to Solve n-Queens Problem
    Rakhya, Sourabh
    Singh, Saurabh
    PROCEEDINGS OF THE 2014 11TH INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTER AND COMPUTATION (ICECCO'14), 2014,
  • [29] Reducing the time complexity of the n-queens problem
    El-Qawasmeh, E
    Al-Noubani, K
    INTERNATIONAL JOURNAL ON ARTIFICIAL INTELLIGENCE TOOLS, 2005, 14 (03) : 545 - 557
  • [30] N-Queens Solving Algorithm by Sets and Backtracking
    Guldal, Serkan
    Baugh, Veronica
    Allehaibi, Saleh
    SOUTHEASTCON 2016, 2016,