Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « 0/1 knapsack, pseudo-polynomial algorithm » ?

Aussi appelé : 0/1 knapsack problem · pseudo-polynomial algorithm

Definition 23.8 University Computer Science — Year 1 · Chapitre 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.

Lire dans le chapitre →