Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es 0/1 knapsack, pseudo-polynomial algorithm?

También llamado: 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.

Leer en el capítulo →