830 likes | 976 Views
Robbing a House with Greedy Algorithms. Casey O’Brien. Knapsack Problem. Your Knapsack Max Weight: 10 pounds. Goal: Maximize total value Constraint: Total weight cannot exceed 10 pounds. Play The Robber!. Final Knapsack: Final Value: $14. Play The Robber!. Final Knapsack:
E N D
Robbing a House withGreedy Algorithms Casey O’Brien
Your Knapsack Max Weight: 10 pounds
Goal: Maximize total value Constraint: Total weight cannot exceed 10 pounds
Final Knapsack: Final Value: $14
Final Knapsack: Final Value: $19
Final Knapsack: Final Value: $16
Final Knapsack: Final Value: $14
Final Knapsack: Final Value: $20
Final Knapsack: Final Value: $17
Final Knapsack: Final Value: $15
Final Knapsack: Final Value: $18
Final Knapsack: Final Value: $19