Title: Vertex-Edge Graphs (part 2)
1Vertex-Edge Graphs(part 2)
1
2What kind of problems can we do using Vertex-Edge
Graphs?
3 Zoo Habitat
The local zoo hired a builder to create a plan
for building new animal habitats (houses). Each
habitat costs 2 million so the number of
habitats must be as few as possible. Some animals
cannot live together in the same habitat as shown
in the matrix below. What is the fewest number
of habitats that must be built to house all eight
animals peacefully?
4Now create the Vertex Edge Graph using the matrix.
5Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
6Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
7Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
8Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
9Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
10Tiger
Oryx
Hawk
Giraffe
Panda
Elephant
11Tiger
Oryx
Hawk
Rhino
Zebra
Panda
Elephant
12Tiger
Oryx
Hawk
Rhino
Zebra
Panda
Elephant
13Tiger
Oryx
Hawk
Rhino
Zebra
Panda
Giraffe
14Tiger
Oryx
Hawk
Rhino
Zebra
Panda
Giraffe
15Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Elephant
16Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
17Tiger
Oryx
Hawk
Zebra
Giraffe
Panda
Elephant
18Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
19Tiger
Oryx
Zebra
Giraffe
Panda
Elephant
20Tiger
Oryx
Hawk
Zebra
Giraffe
Panda
Elephant
21Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
22Now fill in the Table of which animals have
conflicts with which animals.
Animal Conflict
Tiger  Â
Oryx  Â
Zebra  Â
Giraffe  Â
Elephant  Â
Panda  Â
Rhino  Â
Hawk  Â
23(No Transcript)
24On your Vertex Edge Graph color each vertex, make
sure that no same colored vertices share an edge.
What is the fewest number of habitats that must
be built to house all eight animals peacefully?
25Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
26Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
27Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
28 Zoo Habitat
The local zoo hired a builder to create a plan
for building new animal habitats (houses) . Each
habitat costs 2 million so the number of
habitats must be as few as possible. Some animals
cannot live together in the same habitat as shown
in the table below. What is the fewest number of
habitats that must be built to house all eight
animals peacefully?
Animal Conflicts
Tiger Oryx, Zebra, Panda
Oryx Elephant, Panda, Tiger
Zebra Tiger, Hawk, Rhinoceros
Giraffe Elephant, Rhinoceros, Hawk
Elephant Giraffe, Panda, Oryx
Panda Tiger, Elephant, Oryx
Rhinoceros Giraffe, Zebra, Hawk
Hawk Rhinoceros, Giraffe, Zebra
29Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
30Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
31Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
32Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
33Tiger
Oryx
Hawk
Rhino
Zebra
Giraffe
Panda
Elephant
34Tiger
Oryx
Hawk
How many habitats do we need?
Rhino
Panda
Elephant