Title :
Prolog vs procedural backtracking
Author_Institution :
Sch. of Appl. Sci., Nanyang Technol. Inst., Singapore
Abstract :
Backtracking algorithms try to solve problems by generating and testing a set of possible solutions. Typically, there are some points in the execution of a backtracking algorithm where execution can proceed in more than one way. Such points are called choice points. Backtrack technique has been incorporated into variants of many high level languages, mostly procedural languages, such as Pascal, Fortran and LISP. Also, backtracking is one of the major features of Prolog. A programming language with has built-in support for backtracking algorithms is called a backtracking language. Typically its semantics recognise success or failure of execution, and it supports programming of choice points. It hides details about how choices are made at choice points, how to backtrack, and how to resume the previous state. Backtracking languages find wide application in artificial intelligence algorithms. We compare the backtracking mechanisms of Prolog and other backtracking programming languages, and present a new backtracking language.<>
Keywords :
PROLOG; problem solving; Fortran; LISP; Pascal; Prolog; artificial intelligence algorithms; backtracking language; choice points; procedural backtracking; semantics; Computer hacking; Flowcharts; Iron; Radio access networks;
Conference_Titel :
TENCON '93. Proceedings. Computer, Communication, Control and Power Engineering.1993 IEEE Region 10 Conference on
Conference_Location :
Beijing, China
Print_ISBN :
0-7803-1233-3
DOI :
10.1109/TENCON.1993.320003