Felomeng算法导论(第二版)学习笔记Chapter1
2008-05-15 16:21
381 查看
Algorithm: Informally, an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. An algorithm is thus a sequence of computational steps that transform the input into the output.
We can also view an algorithm as a tool for solving a well-specified computational problem. The statement of the problem specifies in general terms the desired input/output relationship. The algorithm describes a specific computational procedure for achieving that input/output relationship.
instance of a problem :In general, an instance of a problem consists of the input (satisfying whatever constraints are imposed in the problem statement) needed to compute a solution to the problem.
correct: An algorithm is said to be correct if, for every input instance, it halts with the correct output.
NPC: Nondeterministic Polynomial Complete
We can also view an algorithm as a tool for solving a well-specified computational problem. The statement of the problem specifies in general terms the desired input/output relationship. The algorithm describes a specific computational procedure for achieving that input/output relationship.
instance of a problem :In general, an instance of a problem consists of the input (satisfying whatever constraints are imposed in the problem statement) needed to compute a solution to the problem.
correct: An algorithm is said to be correct if, for every input instance, it halts with the correct output.
NPC: Nondeterministic Polynomial Complete
相关文章推荐
- 锋利的jQuery(第二版)学习笔记之一:选择器
- C++ Primer 学习笔记 Chapter 9
- SQL Server 2005 技术内幕 TSQL查询学习笔记chapter4之四输出已有范围和缺失范围
- javascript高级程序设计学习笔记-Chapter 5: Reference Types
- SQL Server 2005 技术内幕 TSQL查询学习笔记chapter1and 2逻辑查询处理和物理查询处理
- thinkCSpy学习笔记: Chapter 14 Classes and functions 类和函数
- Python核心编程第二版学习笔记
- 【学习笔记】算法竞赛:chapter 1 程序设计入门
- 《Git Pro 2》学习笔记_Chapter 10_Object Storage
- 《Git Pro 2》学习笔记_Chapter 10_reference_HEAD_tags
- 学习笔记:GNU Linux编程指南(第二版):一
- JavaScript_DOM编程艺术第二版学习笔记-第5章
- ARMv8-A系列学习笔记(8)--Chapter 10 AArch64 Exception Handling
- Wireshark 数据包分析实战(第二版)学习笔记20170113
- 王爽《汇编语言》(第二版) 学习笔记 (第十章 CALL和RET指令 )
- 《大话数据结构》学习笔记--chapter 4
- (2017/3/19)现代编译原理C语言描述(虎书)chapter 3学习笔记
- APUE 学习笔记 - Chapter 6. System Data File and Infomation
- 【学习笔记】算法竞赛:chapter 3 & 4 数组、字符串;函数、递归
- 鸟哥Linux私房菜_基础篇(第二版)_第四章学习笔记