Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Input size, cost function?

Também chamado de: input size · cost function

Definition 13.2 University Computer Science — Year 1 · Capítulo 13 — Asymptotic Analysis and Recurrences

The input size nn is a natural number measuring an input: the length of a list, the number of vertices and edges of a graph, the number of bits of an integer. The cost of an algorithm on an input is the number of elementary operations it performs; a cost function gives a cost for each size.

Ler no capítulo →