MATH3250 · Theorem · Chapter 3 · Recurrences and generating functions
The 0–1 recurrence
1 steps of prerequisites below it
K(i,c) = K(i−1,c) when w_i > c and otherwise the larger of K(i−1,c) and v_i + K(i−1,c−w_i), so filling rows in item order computes the optimum and a full table reconstructs an optimal subset.
Taught in
Uses
- Ordinary and strong induction · used in its proof, proof step 3.6
- Prefix–capacity state · used in its proof, proof step 3.6
Used by
Counterexamples
Everything this builds on, earliest first · 2 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.