算法研究的步骤

本文介绍了算法研究的七个关键步骤,从明确问题定义到优化实现,再到寻找高层次的抽象设计,强调在确保最坏情况性能的同时,也要考虑在典型数据上的实际表现。通过实证和数学分析验证优化效果,并在适当时候转向下一个问题。
摘要由CSDN通过智能技术生成

算法研究的步骤

1. 决定一个完整和具体问题陈述,包括确定问题和API固有的基本抽象操作;

Decide on a complete and specific problem statement, including identifying fundamental abstract operations that are intrinsic to the problem and an API.

2. 仔细为一个简单的算法开发一个简明的实现,使用静心设计的开发客户端和真实的输入数据。

Carefully devlelop a succinct implementation for a straightforward algorithm, using a well-though-out development client and realistic input data.

3. 要知道当一个实现不能用于解决按照设想规模的问题,这个实现必须被优化或者被抛弃;

Know when an implementation could not possibly be used to solve problems on the scale contemplated and must be improved or abandoned.

4. 通过逐步提取的过程开发优化实现,通过实证分析,数学分析验证那个优化想法的功效。

Develop improved implementations through a process of stepwise refinement, validating the efficacy of ideas for improvement through empirical analysis, mathematical analysis, or both.

5. 在操作中查找数据结构或算法的高水平数据结构抽象实现,能够有效的改进高水平的设计版本

Find high-level abstract representations of data structures or algorithms in operation that enable effective high-level design of improved versions.

6. 尽可能争取最坏的性能保证,但在可用的典型数据上接受良好的性能.

Strive for worst-case performance guarantees when possible, but accept good performance on typical data when available.

7. 知道什么时候留给研究人员进一步优化,然后移到下一个问题。

Know when to leave further improvement for detailded in-depth study to skilled researchers and move on to fthe next problem.

 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值