计算机科学 > 数据结构与算法
[提交于 2020年11月19日]
标题:Illustrating the Suitability of Greedy and Dynamic Algorithms Using The Economics Concept of "Opportunity Cost"
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Students of Computer Science often wonder when, exactly, one can apply a greedy algorithm to a problem, and when one must use the more complicated and time-consuming techniques of dynamic programming. This paper argues that the existing pedagogical literature does not offer clear guidance on this issue. We suggest improving computer science pedagogy by importing a concept economists use in their own implementations of dynamic programming. That economic concept is "opportunity cost," and we explain how it can aid students in differentiating "greedy problems" from problems requiring dynamic programming
提交历史
来自:Anas Elghafari[v1] 2020年11月19日 星期四 18:01:22 UTC