Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Representation invariant?

Definition 14.4 University Computer Science — Year 1 · Capítulo 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.

Ler no capítulo →