请输入您要查询的字词:

 

单词 abstract data type
释义
abstract data type

Computer
  • A data type that is defined solely in terms of the operations that apply to objects of the type without commitment as to how the value of such an object is to be represented (see data abstraction).

    An abstract data type strictly is a triple (D,F,A) consisting of a set of domains D, a set of functions F each with range and domain in D, and a set of axioms A, which specify the properties of the functions in F. By distinguishing one of the domains d in D, a precise characterization is obtained of the data structure that the abstract data type imposes on d.

    For example, the natural numbers comprise an abstract data type, where the domain d is

    {0,1,2,}

    and there is an auxiliary domain

    {TRUE,FALSE}

    The functions or operations are ZERO, ISZERO, SUCC, and ADD and the axioms are:

    ISZERO(0)=TRUEISZERO(SUCC(x))=FALSEADD(0,y)=yADD(SUCC(x),y)=SUCC(ADD(x,y))

    These axioms specify precisely the laws that must hold for any implementation of the natural numbers. (Note that a practical implementation could not fulfil the axioms because of word length and overflow.) Such precise characterization is invaluable both to the user and the implementer. Sometimes the concept of function is extended to procedures with multiple results.


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2024/6/28 18:38:24