1 AIT Asian Institute of Technology

A history-based backtracking scheme for Prolog

AuthorTang Van To
Call NumberAIT Thesis no. CS-88-6
Subject(s)Prolog (Computer program language)
NoteA thesis submitted in partial fulfillment of the requirement for the degree of Master of Engineering, School of Engineering and Technology
PublisherAsian Institute of Technology
AbstractKeyr-1ords: Prolog, Naive .Interpreter, History-based Interpreter, Depth First Search, Cause of Fai1ure, SLD Tree, AND/OR Tree, Intelligent Backtracking, Data- Dependency Analysis, Execution History. In t his thesis , a History - Based backtracking (HBB ) interpreter for Prolog is developed and evaluated. Based on an analysis the causes o[ failures, the causes are stored in the history and are used to avoid repeating the same failures . Four basic rules for t he scheme have been derived and justified in the thesis. Two interpreters, a conventional and t he other based on the scheme proposed for a Prolog dialect are implemented using Turbo Pas ca l (version 4 ) . The scheme requires an analysis to determine for each failure , t h e cause of t h e failure. A history of the causes leading to failures is maintained and used to avoid repeating these failures. Th ese interpreters are used to compare and evaluate the proposed scheme with respect to the naïve interpreter and the schemes based on intelligent backtracking. We conclude t hat the proposed scheme is better than those based on data dependency analysis and is easier to implement t h an the in Telligent backtracking schemes.
Year1988
TypeThesis
SchoolSchool of Engineering and Technology (SET)
DepartmentOther Field of Studies (No Department)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Malhotra, Vishv Mohan
Examination Committee(s)Kimura, Tomonori ;Kanchana Kanchanasut
Scholarship Donor(s)Government Of Australia .
Degree Thesis (M.Eng.) - Asian Institute of Technology,1988


Usage Metrics
View Detail0
Read PDF0
Download PDF0