Lower Bound Cost Estimation for Logic Programs
نویسندگان
چکیده
It is generally recognized that information about the runtime cost of computations can be useful for a variety of applications, including program transformation, granularity control during parallel execution, and query optimization in deductive databases. Most of the work to date on compile-time cost estimation of logic programs has focused on the estimation of upper bounds on costs. However, in many applications, such as parallel implementations on distributed-memory machines, one would prefer to work with lower bounds instead. The problem with estimating lower bounds is that in general, it is necessary to account for the possibility of failure of head uniication, leading to a trivial lower bound of 0. In this paper, we show how, given type and mode information about procedures in a logic program, it is possible to (semi-automatically) derive non-trivial lower bounds on their computational costs. We also discuss the cost analysis for the special and frequent case of divide-and-conquer programs and show how |as a pragmatic short-term solution |it may be possible to obtain useful results simply by identifying and treating divide-and-conquer programs specially.
منابع مشابه
تعیین حد پائین واریانس خطای تخمین برای زاویه سیگنال دریافتی با استفاده از روش CRB در آنتن های آرایه ای
One of the important issues in many of array systems such as Radar, Sonar, Mobile, and satellite telecommunications is the estimation of DOA of narrowband received signal. CRB is very important in evaluation of parameter estimation. CRB is the lower bound estimation error variance for any unbiased estimation. In this paper, the array antenna with equal distance arrays is extended in two separat...
متن کاملEstimating Development Time of Software Projects Using a Neuro Fuzzy Approach
Software estimation accuracy is among the greatest challenges for software developers. This study aimed at building and evaluating a neuro-fuzzy model to estimate software projects development time. The forty-one modules developed from ten programs were used as dataset. Our proposed approach is compared with fuzzy logic and neural network model and Results show that the value of MMRE (Mean of M...
متن کاملEstimating the Computational Cost of Logic Programs
Information about the computational cost of programs is potentially useful for a variety of purposes, including selecting among diierent algorithms , guiding program transformations, in granularity control and mapping decisions in parallelizing compilers, and query optimization in deductive databases. Cost analysis of logic programs is complicated by nondeterminism: on the one hand, procedures ...
متن کاملTowards Execution Time Estimation for Logic Programs via Static Analysis and Profiling
Effective static analyses have been proposed which infer bounds on the number of resolutions or reductions. These have the advantage of being independent from the platform on which the programs are executed and have been shown to be useful in a number of applications, such as granularity control in parallel execution. On the other hand, in distributed computation scenarios where platforms with ...
متن کاملFuzzy profit measures for a fuzzy economic order quantity model
Changing economic conditions make the selling price and demand quantity more and more uncertain in the market. The conventional inventory models determine the selling price and order quantity for a retailer’s maximal profit with exactly known parameters. This paper develops a solution method to derive the fuzzy profit of the inventory model when the demand quantity and unit cost are fuzzy numbe...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997