Abstract data type refers to a mathematical model and a set of operations defined on the model. It only depends on its logical characteristics and has nothing to do with how the computer is represented and implemented internally. It embodies the decomposition of problems in programming. and information hiding characteristics.
Abstract data type (ADT
) refers toa mathematical model and a set of data defined on the model operate. It only depends on its logical characteristics and has nothing to do with how it is represented and implemented inside the computer. For example, the integer type just mentioned. Every computer, whether mainframe, minicomputer, PC, tablet or even smartphone, has an "integer" type, which also requires integer operations. So the integer type is actually an abstract data type. .
operations on that model. Just like the classic Nintendo game "Super Mario", the protagonist of the game is Mario. We have defined basic operations for him, such as forward, backward, jumping, shooting bullets, etc. This is an abstract data type that defines a data object, the relationship between elements in the object, and operations on the data elements.
ADT = (D,S,P) (D:数据对象 S:D上的关系集 P:D上的一组操作)
ADT 抽象数据类型名称{ 数据对象:<数据对象的定义>; 数据关系:<数据关系的定义>; 基本操作:<基本操作的定义> }
Related learning recommendations:
The above is the detailed content of What are abstract data types. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor

Zend Studio 13.0.1
Powerful PHP integrated development environment