note06 - Outline 1 Greedy Algorithms Elements of Greedy...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Outline 1 Greedy Algorithms 2 Elements of Greedy Algorithms 3 Greedy Choice Property for Kruskal’s Algorithm 4 0/1 Knapsack Problem 5 Activity Selection Problem 6 Scheduling All Intervals c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 1 / 49
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 2 / 49
Background image of page 2
Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. Optimization Problems For the given input, we are seeking solutions that must satisfy certain conditions. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 2 / 49
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. Optimization Problems For the given input, we are seeking solutions that must satisfy certain conditions. These solutions are called feasible solutions . (In general, there are many feasible solutions.) c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 2 / 49
Background image of page 4
Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. Optimization Problems For the given input, we are seeking solutions that must satisfy certain conditions. These solutions are called feasible solutions . (In general, there are many feasible solutions.) We have an optimization measure defined for each feasible solution. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 2 / 49
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. Optimization Problems For the given input, we are seeking solutions that must satisfy certain conditions. These solutions are called feasible solutions . (In general, there are many feasible solutions.) We have an optimization measure defined for each feasible solution. We are looking for a feasible solution that optimizes (either maximum or minimum) the optimization measure. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 2 / 49
Background image of page 6
Examples Matrix Chain Product Problem A feasible solution is any valid parenthesization of an n -term chain. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 3 / 49
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Examples Matrix Chain Product Problem A feasible solution is any valid parenthesization of an n -term chain. The optimization measure is the total number of scalar multiplications for the parenthesization. c ± Xin He (University at Buffalo) CSE 431/531 Algorithm Analysis and Design 3 / 49
Background image of page 8
Examples Matrix Chain Product Problem A feasible solution is any valid parenthesization of an n -term chain. The optimization measure is the total number of scalar multiplications for the parenthesization.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 1

note06 - Outline 1 Greedy Algorithms Elements of Greedy...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online