| Efficient reordering of C-PROLOG |
| Full text |
Pdf
(534 KB)
|
| Source
|
ACM Annual Computer Science Conference
archive
Proceedings of the 1993 ACM conference on Computer science
table of contents
Indianapolis, Indiana, United States
Pages: 151 - 155
Year of Publication: 1993
ISBN:0-89791-558-5
|
|
Authors
|
|
Jian Wang
|
Department of Computer Science, Middle Tennessee State University
|
|
Jungsoon Yoo
|
Department of Computer Science, Middle Tennessee State University
|
|
Tom Cheatham
|
Department of Computer Science, Middle Tennessee State University
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 4, Downloads (12 Months): 8, Citation Count: 0
|
|
|
ABSTRACT
PROLOG uses a depth-first search of an AND/OR graph to satisfy queries against its database. It searches sequentially through the clauses of a predicate whose head matches the query, trying to satisfy the goals in the clause body in a sequential left-to-right order. The ordering of clauses and goals is a major factor in the efficiency of a PROLOG program. We have developed a profiler for C-PROLOG that collects statistics including the failure rate of clauses and goals in a C-PROLOG program. These statistics are used by any of several reordering predicates capable of local or global reordering. The intent is to construct a reordered PROLOG program that outputs an equivalent set of answers, and is more efficient. Test results are promising.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
|
| |
3
|
|
| |
4
|
Pereira, Fernando and Tweed, Christopher, C- PROLOG User'8 Manual Version 1.5 and 1.5+, SKI International, Menlo Park, CA, 1988.
|
| |
5
|
|
| |
6
|
Wang, Jian, E.gicient Reordering in C-Prolog, MS Thesis, Middle Tennessee State University, Murfreesboro, TN, 1992.
|
| |
7
|
Warren, D.H.D., "Applied Logic- its Use and Implementation as a Programming Tool," Technical Note 290, SRI International, Menlo Park, CA, 1983.
|
|