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中没有这些对象模式。集成不需要逻辑事实作为环境中的本地谓词;相反,事实在应用程序模型中表示为对象。这允许对在不同域上定义的谓词进行递归推理和回溯。给出了该方法的设计概念和实现方法,并通过一个实例说明了其应用。 P>
Electronic Data Systems Corporation, Research and Development, 3551 Hamlin Rd., Auburn Hills, MI;
机译:确定对象的逻辑(LDO):如何用“内涵”表达“扩展”和用“概念”表达“对象”
机译:确定对象的逻辑(LDO):如何用“内涵”表达“扩展”和用“概念”表达“对象”
机译:面向对象和模糊逻辑分类方法,用于在拉里奥卡纳斯州立公园 - 巴西里约热内卢州立大野公园的异国情调物种
机译:约束逻辑面向对象编程中的引用类型逻辑变量
机译:对有关工程设计产品的不断发展的信息进行建模:一种结合了描述逻辑和面向对象的建模的以对象为中心的方法。
机译:小型分子逻辑系统可以通过边缘可视化绘制对象轮廓
机译:在高阶逻辑定理证明器中实现对象的程序逻辑