期刊文献+

24点问题的一种简易算法的设计与实现 被引量:1

The Design and Realization of a Simplified Algorithm for the 24-Point Problem
下载PDF
导出
摘要 实践是敏捷软件开发的核心,对代码要求精益求精,在开发的过程中,简单设计,用测试驱动,通过重构和迭代代码实现设计。24点问题是一类趣味数字游戏问题,开始想用递归思想解决,在编写代码的过程中,写出了递推的过程,程序重复的地方太多,经过重构写出了递归算法,在增量式开发中应用重构技术实现了递归算法并对算法进行了扩展。 Practice is the core of agile software development. The requirement on the code quality is high. In the development, the design is simple, driving is achieved by testing and code design is realized through refractor and iteration. The 24 point problem is an interesting arithmetic figure game. In the beginning the author intends to use recursion but in the coding process he finds a lot of programs are repeated. At last recursion is realized by refractoring the code. Refractoring is applied in increase development to realize recursion and the algorithm is extended in some way.
作者 黄复贤
出处 《电子科技》 2005年第9期52-55,共4页 Electronic Science and Technology
关键词 24点问题 递归 增量式开发 重构 24 point problem recursion increase development refractor
  • 相关文献

同被引文献1

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部