摘要
分别从蛮力法、动态规划法、贪心法这三种算法入手,提出了求解投资问题的算法思想,给出了算法的伪代码,并对算法进行了分析比较.
By comparing and analyzing the algorithms of brute force method,dynamic programming and greedy method,the study put forwards the algorithm principle to solve the investment problem and gave the pseudo-code of the algorithms.
出处
《玉溪师范学院学报》
2010年第8期43-46,共4页
Journal of Yuxi Normal University
关键词
投资问题
蛮力法
动态规划法
贪心法
investment problem
brute force method
dynamic programming
greedy method