E N D
A problem Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge, meaning that the torch must travel back across the bridge. When two people cross the bridge together, they must move at the slower person's pace. If person A can cross the bridge in 1 minute, B in 2 minutes, C in 3 minutes, and D in 4 minutes, how fast do all four of the cross the river?
A problem Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge, meaning that the torch must travel back across the bridge. When two people cross the bridge together, they must move at the slower person's pace. If person A can cross the bridge in 1 minute, B in 2 minutes, C in 3 minutes, and D in 4 minutes, how fast do all four of the cross the river? What if the times are A(1), B(2), C(4), D (5)
Path through a circuit that touches every vertex once, not all edges must be used • Must know by name • Can be used to explain precedence • Typically used to find most efficient route/order • Edges are weighted (values assigned) Hamiltonian Circuits
BP Udall 9 mi For Example 16 mi 9 mi 25 mi 10 mi Mulvane Wellington 24 mi
Traveling Salesman Problem 20 A B 35 40 25 45 C D 30
ABCDA, ABDCA, ACBDA, ACDBA, ADBCA, ADCBA • Similar: They touch each vertex once; Different: Some order just in different direction • ABCDA (125), ABDCA (120), ACBDA (145), ACDBA (120), ADBCA (145), ADCBA (125) • 120 mi or minutes • Guess • (4 city routes: 12144), 25 city routes: 6.24 x 1023 • Answer
VE Graph Test tomorrow
Be able to explain what a vertex and an edge is • Example of VE Graph • A group of classmates convene in a room. They quickly realize that they’ve all met before. Julie’s boyfriend Bill is Tyrese’s roommate. Tyrese works with Shawnna and is related to Levi’s roommate. Shawnnawent to high school with Chris, Levi’s brother. Levi’s other brother, Xanderdated Julie before Bill. • Draw a Vertex Edge Graph modeling this situation • How many people are in the room? Test Prep
Test Prep • List all the different paths, and compute the length of each path. • Find the critical path and the EFT. Earliest Finish Time • What are the critical tasks? • Are there any tasks that can have their task times increased by 3 units and yet not cause a change in the EFT for the whole project? If so, which tasks? If not, why not?
Consider the school yearbook staff who has 16 days to complete the yearbook. They know what they have to do and how long it will take. (They can only use one camera, but everyone will cooperate). Do they make it?