SEARCH DIRECTION BY GOAL FAILURE IN GOAL-ORIENTED PROGRAMMING

被引:0
作者
DARLINGTON, JL
机构
[1] Gesellschaft fu¨r Mathematik und Datenverarbeitung, Augustin
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 1990年 / 12卷 / 02期
关键词
D O I
10.1145/78942.78946
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A new approach to goal-oriented programming is described, whereby the search for values of variables to satisfy a goal is invariably directed by that goal or by information provided by its failure. This goal-directed approach is in contrast to that employed by logic programming systems, which attempt to satisfy a goal that has failed by resatisfying an already tested goal, and which furthermore do this in a way determined solely by the order of facts and rules in the database and without reference to the goal that has failed. Proposed changes in the control structure of logic programs designed to improve their execution serve more to reduce the search space than to add goal direction. A goal-directed language that embodies the new approach is presented. It is at the same time a functional programming language and a specification interpreter for the direct execution and testing of functional specifications, and permits the user to write executable program descriptions in which some of the constituent functions are fully defined while others are “merely” specified. The language has been successfully tested on examples drawn from such fields as deductive question answering and problem solving, where it compares favorably with the logic programming languages. © 1990, ACM. All rights reserved.
引用
收藏
页码:224 / 252
页数:29
相关论文
共 27 条
[1]  
CAMPBELL JA, 1984, IMPLEMENTATIONS PROL
[2]  
Clocksin W. F., 1981, PROGRAMMING PROLOG
[3]   THE ROLE OF EXCURSIONS IN INTERACTIVE SYSTEMS [J].
DARLINGTON, J ;
DZIDA, W ;
HERDA, S .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (02) :101-112
[4]  
Darlington J. L., 1984, 4th Jerusalem Conference on Information Technology (JCIT). Next Decade in Information Technology (Cat. No. 84CH2022-2), P274
[5]  
Darlington J. L., 1988, Mini and Microcomputers and their Applications, P167
[6]  
Darlington J. L., 1985, Mini and Microcomputers and their Applications. Proceedings of the ISMM International Symposium, P222
[7]   STRIPS - NEW APPROACH TO APPLICATION OF THEOREM PROVING TO PROBLEM SOLVING [J].
FIKES, RE ;
NILSSON, NJ .
ARTIFICIAL INTELLIGENCE, 1971, 2 (3-4) :189-208
[8]  
GOGUEN J, 1982, ACM SIGSOFT SOFTWARE, V7, P75
[9]  
GOGUEN JA, EQLOG EQUALITY TYPES, P295
[10]  
HEWITT C, 1969, P 1 INT JOINT C ART, P295