The Greedy Choice Function is the rule used to make each selection in a greedy algorithm. When we prove the correctness
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
The Greedy Choice Function is the rule used to make each selection in a greedy algorithm. When we prove the correctness
The Greedy Choice Function is the rule used to make eachselection in a greedy algorithm. When we prove the correctness ofour greedy algorithm, we seek to show that the choice designated bythe greedy choice function is a component of some correct solution.Why do we not instead show that optimal solutions must use thegreedy choice?