网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Aggregate analysis
释义

Aggregate analysis

原声例句
经济学人-财经

If that drop encourages more demand, an aggregate analysis might find that a higher price leads to more consumption, not less.

如果这个下跌鼓励了更多的需求,那么综合分析得出的结论可能就会是,更高的价格不会抑制消费,反而会促进消费。

中文百科

平摊分析 Amortized analysis

(重定向自Aggregate analysis)

在计算机科学中,特别是算法分析中,平摊分析寻找在最坏情况下的操作串行中每操作的平均耗费时间。平摊分析只保证最坏情况性能的每操作耗费时间,不涉及平均情况性能。

这个方法需要知道操作串行中可能发生的每个操作。通常应用在操作间存在状态的数据结构中。基本思想是一个最坏情况操作会改变状态从而不会在一段时间内再次出现,因此"平摊"它的耗费。

一个简单的例子,在某个特定实现的动态数组中,我们在每次数组溢出时增长数组的长度至原来的两倍。因此需要数组空间分配,在最坏情况下一个插入操作需要O(n)的时间。但是,一个 n 个插入的操作串行仍然可以在 O(n) 的时间内完成,因为剩下的插入可以在常数时间内完成,因此 n 个插入可以在 O(n) 的时间内完成。因此每操作的平摊耗费为O(n) / n = O(1)。

英语百科

Amortized analysis 平摊分析

(重定向自Aggregate analysis)
Amortized Analysis of the Push operation for a Dynamic Array

In computer science, amortized 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.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/17 14:41:17