Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é 0/1 knapsack, pseudo-polynomial algorithm?

Também chamado de: 0/1 knapsack problem · pseudo-polynomial algorithm

Definition 23.8 University Computer Science — Year 1 · Capítulo 23 — Dynamic Programming

The 0/1 knapsack problem asks, for items of integer weights wiw_i and values viv_i and a capacity WW, for a set of items of total weight at most WW and largest total value. An algorithm is pseudo-polynomial if its cost is polynomial in the numbers of the input, but not in the number of digits needed to write them.

Ler no capítulo →