【24h】

Production rules as programming

机译:生产规则作为编程

获取原文

摘要

Programming with rules is a small part of or not present at all in most curricula. We feel that is unfortunate. For a broad spectrum of problems rule based programs express the essentials of the algorithms well. Despite the common wisdom that some languages are best for certain types of problems, we find that rule based programs are as simple as procedural programs, even for typical 'procedural' problems.In this paper we first give a brief example of rule programming concentrating on its differences from procedural programming. We then show examples of how directly rule programs can follow the common conceptualizations of certain types of problems. In order to quantify the simplicity of rule programs, we compare entropies of procedural and rule based programs for typical procedural programming tasks.
机译:在大多数课程中,使用规则进行编程只是一小部分,甚至根本不存在。我们感到不幸。对于各种各样的问题,基于规则的程序很好地表达了算法的本质。尽管人们普遍认为某些语言最适合某些类型的问题,但我们发现基于规则的程序与过程程序一样简单,甚至对于典型的“过程性”问题也是如此。它与过程编程的区别。然后,我们展示了一些示例,这些示例说明了直接规则程序如何可以遵循某些类型问题的通用概念。为了量化规则程序的简单性,我们比较了典型过程编程任务的过程和基于规则的程序的熵。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号