Download presentation

Presentation is loading. Please wait.

Published bySamuel Streat Modified about 1 year ago

1
Supplement Part II Graph Coloring Applications

2
To create a graph connect vertices that CANNOT be together. Color the graph using the method given in the first part of the supplement. State which items CAN be grouped together

3
Day Care The following children are not allowed to play together in the daycare (because they BITE each other!). Use graph coloring to figure out how many rooms are needed to accommodate all the kids. ChildIs not allowed to play with CorrinEric, Ann BethAnn, William EricWilliam SamCorrin, Beth

4
Day Care (cont’d) Two vertices are adjacent if the children they represent cannot play together. CorrinSam Eric Ann Beth William

5
Day Care (cont’d) Next we need to color the graph, so we need to: CorrinSam Eric Ann Beth William purple green red 3 2 2 3 2 2 Write down the degree of each vertex Make a list of colors

6
Day Care (cont’d) Next we color the graph using the familiar technique. CorrinSam Eric Ann Beth William purple green red 3 2 2 3 2 2

7
Day Care (cont’d) Next we color the graph using the familiar technique. CorrinSam Eric Ann Beth William purple green red 3 2 2 3 2 2

8
Day Care (cont’d) Next we color the graph using the familiar technique. CorrinSam Eric Ann Beth William purple green red 3 2 2 3 2 2

9
Day Care (cont’d) 3 rooms are needed. The children that CAN be in the same room are: 1 st room: Corrin, Beth 2 nd room: Eric, Anne and Sam 3 rd room: William 2

10
Groceries A Graph Theory enthusiast needs to buy 8 items from the grocery store and decides to figure out how many bags she will need according to graph coloring principles. Certain foods cannot be bagged together for health and cleanliness reasons. ItemCannot be bagged with raw meatproduce, bread, bleach, eggs, milk, magazine producemilk, raw meat, bread, bleach bleachbread, produce, eggs, milk, raw meat milkbleach, raw meat, magazine, produce, bread canned corn

11
Groceries (cont’d) Veritces – Items Edges – connect items that cannot be bagged together Produce Meat Bread Magazine Milk Eggs Bleach Canned Corn

12
Groceries (cont’d) Put degrees on vertices Make a list of colors Since we don’t know how many colors will be needed we can add to the list of colors as we color the graph. Produce Meat Bread Magazine Milk Eggs Bleach Canned Corn 6 2 52 5 0 4 4 purple green red blue yellow

13
Groceries (cont’d) Color the graph using the familiar technique. Produce Meat Bread Magazine Milk Eggs Bleach Canned Corn 6 2 52 5 0 4 4 purple green red blue yellow

14
Groceries (cont’d) Color the graph using the familiar technique. Produce Meat Bread Magazine Milk Eggs Bleach Canned Corn 6 2 52 5 0 4 4 purple green red blue yellow

15
Groceries (cont’d) Color the graph using the familiar technique. Produce Meat Bread Magazine Milk Eggs Bleach Canned Corn 6 2 52 5 0 4 4 purple green red blue yellow

16
Groceries (cont’d) 5 bags are needed 1 st bag Meat and Canned Corn 2 nd bag Bleach and Magazine 3 rd bag Milk and Eggs 4 th bag Bread 5 th bag Produce

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google