Cost Analysis of Logic Programs

93Citations
Citations of this article
15Readers
Mendeley users who have this article in their library.

Abstract

Cost analysis of programs has been studied in the context of imperative and functional programming languages. For logic programs, the problem is comphcated by the fact that programs may be nondeterministic and produce multiple solutions. A related problem is that because failure of execution is not an abnormal situation, it is possible to write programs where irnphclt failures have to be dealt with exphcitly in order to get meaningful results. This paper addresses these problems and develops a method for (semi-)automatlc analysls of the worst-case cost of a large class of logic programs. The prl mary contribution of this paper is the development of techmques to deal with nondeterminism and the generation of multiple solutions via backtracking. Apphcations include program transformation and synthesis, software engineering, and in parallelizing compilers. © 1993, ACM. All rights reserved.

Author supplied keywords

Cite

CITATION STYLE

APA

Debray, S. K., & Lin, N. W. (1993). Cost Analysis of Logic Programs. ACM Transactions on Programming Languages and Systems (TOPLAS), 15(5), 826–875. https://doi.org/10.1145/161468.161472

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free