amortized analysis

Posted rsapaper

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了amortized analysis相关的知识,希望对你有一定的参考价值。

w

 

https://en.wikipedia.org/wiki/Amortized_analysis

 

In computer scienceamortized analysis is a method for analyzing a given algorithm\'s time complexity, or how much of a resource, especially time or memory in the context of computer programs, it takes to execute. The motivation for amortized analysis is that looking at the worst-case run time per operation can be too pessimistic.[1]

While certain operations for a given algorithm may have a significant cost in resources, other operations may not be as costly. Amortized analysis considers both the costly and less costly operations together over the whole series of operations of the algorithm. This may include accounting for different types of input, length of the input, and other factors that affect its performance.[2]

以上是关于amortized analysis的主要内容,如果未能解决你的问题,请参考以下文章

平摊分析 Amortized Analysis ------geeksforgeeks翻译

复杂度分析---平摊分析(Amortized Analysis)

使用连接和不同的 Laravel 求和查询

使用批处理删除文本文件中的某些文本

恒定摊销时间