前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >运用"机会成本"经济学概念说明贪心与动态算法的适用性(CS)

运用"机会成本"经济学概念说明贪心与动态算法的适用性(CS)

作者头像
zstt8054929
修改2020-12-18 11:12:15
5250
修改2020-12-18 11:12:15
举报

尤金·卡拉汉 , 罗伯特·墨菲阿纳斯·埃尔加法里

计算机科学的学生常常想知道,究竟什么时候可以对一个问题应用贪心算法,以及何时必须使用更复杂的、耗时的动态编程技术。本文认为,现有的教学文献并没有就这一问题提供明确的指导。我们建议通过导入经济学家在自己实现动态编程时使用的概念来改进计算机科学教育学。其经济概念是"机会成本",我们将解释它如何帮助学生区分"贪心问题"和需要动态编程的问题。

Illustrating the Suitability of Greedy and Dynamic Algorithms Using The Economics Concept of "Opportunity Cost"

Eugene Callahan, Robert Murphy, Anas Elghafari

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.

本文系外文翻译,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系外文翻译前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档