首页 > 其他 > 详细

Algorithm

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!