全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Representation invariant?

Definition 14.4 University Computer Science — Year 1 · 第 14 章 — Dynamic Arrays and Amortised Analysis

A representation invariant is a condition on the fields of an implementation that every operation may assume on entry and must restore before returning. It says which values of the fields represent a value of the abstract type.

在原文中阅读 →