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 条
  • [1] A novel approach to solving N-queens problem
    Kaosar, G
    Shorfuzzaman, M
    Ahmed, S
    8TH WORLD MULTI-CONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL V, PROCEEDINGS: COMPUTER SCIENCE AND ENGINEERING, 2004, : 186 - 190
  • [2] THE N-QUEENS PROBLEM
    RIVIN, I
    VARDI, I
    ZIMMERMANN, P
    AMERICAN MATHEMATICAL MONTHLY, 1994, 101 (07): : 629 - 639
  • [3] N-QUEENS PROBLEM
    BRUEN, A
    DIXON, R
    DISCRETE MATHEMATICS, 1975, 12 (04) : 393 - 395
  • [4] N-QUEENS PROBLEMS
    HANSCHE, B
    VUCENIC, W
    NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY, 1973, 20 (06): : A568 - A568
  • [6] A maximum neural network approach for N-queens problems
    Nobuo Funabiki
    Yoichi Takenaka
    Seishi Nishikawa
    Biological Cybernetics, 1997, 76 : 251 - 255
  • [7] A Quantum N-Queens Solver
    Torggler, Valentin
    Aumann, Philipp
    Ritsch, Helmut
    Lechner, Wolfgang
    QUANTUM, 2019, 3
  • [8] Complexity of n-Queens Completion
    Gent, Ian P.
    Jefferson, Christopher
    Nightingale, Peter
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2017, 59 : 815 - 848
  • [9] A maximum neural network approach for N-queens problems
    Funabiki, N
    Takenaka, Y
    Nishikawa, S
    BIOLOGICAL CYBERNETICS, 1997, 76 (04) : 251 - 255
  • [10] The n-queens completion problem
    Stefan Glock
    David Munhá Correia
    Benny Sudakov
    Research in the Mathematical Sciences, 2022, 9