【24h】

Objects with logic

机译:具有逻辑的对象

获取原文
获取原文并翻译 | 示例

摘要

This paper describes an approach to the integration of logic and object programming where predicates, logic expressions, and a generalized search protocol that support Prolog-like reasoning are implemented as an integral part of an object-oriented language. This logic programming facility provides 1) domain-based reasoning, 2) functional arguments, 3) support of the abstraction power of object-oriented languages, and 4) matching of complex object patterns, none of which are available in Prolog. The integration does not require logic facts to be local predicates in the environment; instead, facts are represented as objects in the application model. This permits recursive reasoning and backtracking on predicates that are defined on different domains. The design concepts and implementation of this approach are presented and its application is illustrated by an example.

机译:

本文描述了一种将逻辑和对象编程集成在一起的方法,其中,支持类Prolog推理的谓词,逻辑表达式和通用搜索协议被实现为面向对象语言的组成部分。该逻辑编程工具提供1)基于域的推理,2)功能自变量,3)支持面向对象语言的抽象能力以及4)复杂对象模式的匹配,而Prolog中没有这些对象模式。集成不需要逻辑事实作为环境中的本地谓词;相反,事实在应用程序模型中表示为对象。这允许对在不同域上定义的谓词进行递归推理和回溯。给出了该方法的设计概念和实现方法,并通过一个实例说明了其应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号