计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (12): 89-90.

• 产品、研发、测试 • 上一篇    下一篇

决策表问题的程序设计新途径

潘大志 张世禄   

  1. 西华师范大学数学与信息学院 西华师范大学 计算机科学系
  • 收稿日期:2006-04-29 修回日期:1900-01-01 出版日期:2007-04-20 发布日期:2007-04-20
  • 通讯作者: 潘大志

the New Programming Method of Decision-making Table Problem

  • Received:2006-04-29 Revised:1900-01-01 Online:2007-04-20 Published:2007-04-20

摘要: 本文提炼并归纳了“决策表问题”对应的数学计算公式——特殊的多元分段函数,以及指出该类分段函数的特点。利用简单的数组操作语句代替了可能嵌套多达数十甚至百重的条件语句,大大降低了程序设计难度和程序本身的复杂程度。

关键词: 决策表, 决策树, 多元分段函数, 程序复杂程度, 程序设计难度

Abstract: the paper summarizes the math formula of decision-making table problem and points characteristic, which a sort of multi-items subsection function owns. This paper replaces nesting if—sentence with simplify array-operating sentence, as reduces programming difficulty and program complex.

Key words: decision-making table, decision-making tree, multi-items subsection function, program complex, programming difficulty