码迷,mamicode.com
首页 > 其他好文 > 详细

Algorithm

时间:2014-07-16 19:15:58      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:des   style   color   for   io   cti   

The modern meaning for algorithm is quite similar to that of recipe, process, method, technique, procedure, routine, rigmarole, except that the word "algorithm" connotes something just a little different. Besides merely being a finite set of rules that gives a sequence of operations for solving a specific type of problem, an algorithm has five important features:

1)Finittness.

2)Definiteness.

3)Input.

4)Output.

5)Effectiveness.

Performance analysis: machine independent

1)Complexity theory
   Space complexity: amount of memory --> a)fixed space(instruction, simple variables, constants). b)memory depends on instance.
   Time complexity: amount of computer time --> a)compile time. b)execution time depends on instance.

Performance measurement: machine dependent

 1)Asympototic Notation --> Big "Oh"

Algorithm,布布扣,bubuko.com

Algorithm

标签:des   style   color   for   io   cti   

原文地址:http://www.cnblogs.com/007beta/p/3844730.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!