首页> 外文期刊>Informatica >Formal and Practical Aspects of Implementing Abstract Data Types in the Prolog Instruction
【24h】

Formal and Practical Aspects of Implementing Abstract Data Types in the Prolog Instruction

机译:在Prolog指令中实现抽象数据类型的形式和实践方面

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

摘要

Abstract data types constitute a central tool in computer science and play an important role in problem solving, knowledge representation, and programming. In this paper, formal and practical aspects of utilizing abstract data types (ADTs) are discussed in the context of logic programming when using the Prolog programming language. The approach is presented in the following stages: (a) First, alternative ways of implementing ADTs in terms of Prolog constructs are presented and partial encapsulation of AD'I's in terms of grey boxes is demonstrated. (b) Next, complete encapsulation of ADTs in terms of black boxes is suggested in a way that strictly reflects the concept's formal computer science definition while taking into consideration the characteristics and constraints of the logic programming paradigm. (c) Finally, implications for instruction are discussed.
机译:抽象数据类型构成计算机科学的核心工具,并在问题解决,知识表示和编程中发挥重要作用。在本文中,在使用Prolog编程语言时,在逻辑编程的上下文中讨论了利用抽象数据类型(ADT)的形式和实践方面。在以下阶段介绍了该方法:(a)首先,介绍了根据Prolog构造实现ADT的替代方法,并演示了用灰色框表示的AD'I的部分封装。 (b)接下来,建议以黑盒的形式完全封装ADT,同时严格考虑概念的正式计算机科学定义,同时考虑逻辑编程范例的特征和约束。 (c)最后,讨论对教学的启示。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号