From 611919cbfc39815f00a01e5254c89c5f07301ef1 Mon Sep 17 00:00:00 2001
From: "Brady J. Garvin" <bgarvin@cse.unl.edu>
Date: Wed, 27 Sep 2023 11:27:18 -0500
Subject: [PATCH] Introduced additional column headings to explicate the common
pattern in DP tables.
---
dynamic-programming/notes.md | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/dynamic-programming/notes.md b/dynamic-programming/notes.md
index cb7f3fe..857c51c 100644
--- a/dynamic-programming/notes.md
+++ b/dynamic-programming/notes.md
@@ -82,8 +82,8 @@ Problem: Subject to an integer weight limit, what choice of items (allowing repe
* Item A weighs 3 kg and is worth $10.
* Item B weighs 4 kg and is worth $14.
- Backpointer
- -------------------
+ Vertex Backpointer Notes for Humans
+ ----------- ------------------- ----------------
Weight (kg) Item Total Value (Back to Weight)
----------- ------ ----------- ----------------
0 [none] $0 ⊥
@@ -141,17 +141,17 @@ Problem: Wrap a paragraph to a line length, minimizing the sum of the squares of
> x x x x xxxx xxxx
> 0 1 2 3 4 5 6
- Backpointer
- -----------------------------
- Index Previous Index Total Penalty
- ----- -------------- -------------
- 0 ⊥ 0
- 1 … …
- 2 … …
- 3 … …
- 4 … …
- 5 … …
- 6 … …
+ Vertex Backpointer
+ ------ -----------------------------
+ Index Previous Index Total Penalty
+ ------ -------------- -------------
+ 0 ⊥ 0
+ 1 … …
+ 2 … …
+ 3 … …
+ 4 … …
+ 5 … …
+ 6 … …
Reversed Path
----
--
GitLab