World's most popular travel blog for travel bloggers.

Is there a method for automatic runtime analysis of algorithms?

, , No Comments
Problem Detail: 

I am wondering, is there a method for automatic runtime analysis that works at least on a relevant subset of algorithms (algorithms that can be analyzed)?

I googled "Automatic algorithm analysis" which gave me this but it is too mathy. I just want a simple example in psuedocode that I can understand. Might be too specific, but I thought it was worth a shot.

Asked By : Nathvi

Answered By : Dave Clarke

The COSTA tool does just this, although it fails in many cases, as you can imagine, due to computability problems. There are many papers about this; Cost Analysis of Java Bytecode by E. Albert, P. Arenas, S. Genaim, G. Puebla, D. Zanardini is a good starting point.

The approach taken is to infer a run-time recurrence from the Javabyte code, the convert this to a closed form. The tool also compute space usage bounds.

Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/33854

0 comments:

Post a Comment

Let us know your responses and feedback