User-definable resource bounds analysis for logic programs

52Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We present a static analysis that infers both upper and lower bounds on the usage that a logic program makes of a set of user-definable resources. The inferred bounds will in general be functions of input data sizes. A resource in our approach is a quite general, user-defined notion which associates a basic cost function with elementary operations. The analysis then derives the related (upper- and lower-bound) resource usage functions for all predicates in the program. We also present an assertion language which is used to define both such resources and resourcerelated properties that the system can then check based on the results of the analysis. We have performed some preliminary experiments with some concrete resources such as execution steps, bytes sent or received by an application, number of files left open, number of accesses to a database, number of calls to a procedure, number of asserts/retracts, etc. Applications of our analysis include resource consumption verification and debugging (including for mobile code), resource control in parallel/distributed computing, and resource-oriented specialization. © Springer-Verlag Berlin Heidelberg 2007.

Cite

CITATION STYLE

APA

Navas, J., Mera, E., López-García, P., & Hermenegildo, M. V. (2007). User-definable resource bounds analysis for logic programs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4670 LNCS, pp. 348–363). Springer Verlag. https://doi.org/10.1007/978-3-540-74610-2_24

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