Chapter 5 Terms Flashcards
(34 cards)
1
Q
The Konigsberg Puzzle
A
- Unsolvable bridge puzzle
2
Q
Think of graphs as __________.
A
- Connections
3
Q
Graph Theory
A
- Illustrates and analyzes connections
4
Q
Graph
A
- A set of points and line segments that connect the vertices
5
Q
Vertices
A
- The points on a graph
6
Q
Edges
A
- The line segments that connect the vertices
7
Q
Null Graph
A
- Vertices are totally disconnected . . .
8
Q
Connected Graph
A
- Where each vertices is touching another one .-.-.
9
Q
Not Connected Graph
A
- Each vertical is touching another but they are not connected . .-. .-.
10
Q
A Complete Graph
A
- Every possible edge is drawn
11
Q
To See if Graphs Are Equivalent
A
- Count the vertices
- Count the edges
- Write down the names of the connections
12
Q
Path
A
- Movement from one vertex to another via edges
13
Q
Closed Path
A
- When a path ends where it started
- AKA: circuit
14
Q
Euler Circuit
A
- A circuit that uses every edge but never the same edge twice
15
Q
Degree
A
- The number of edges coming from a vertex
16
Q
An euler circuit is possible if…
A
- The no. of edges coming from every vertex is even
17
Q
Euler Path
A
- A route that uses every edge but you do not have to end up where you started
- Will start and end at the ODD verticals
18
Q
A euler path is possible if…
A
- If two (and only two) verticals are odd
19
Q
Hamiltonian Circuit
A
- The path that visits each vertex once and returns to the starting vertex, without visiting any vertex twice
20
Q
A Hamiltonian circuit exists if…
A
- Every vertex has a degree of at least n/2
- “n” = the number of verticals
21
Q
Weighted Graph
A
- A graph in which each edge is associated with a value
22
Q
Shortcut algorithms only apply to…
A
- Complete graphs
23
Q
The Greedy Algorithm Steps
A
- Choose a vertex and travel across the connecting edge with the smallest weight
- Reach the next vertex and travel to an unvisited one by using the edge with the smallest weight
- Continue
- Get to every vertex once
- Return to where you started
24
Q
Edge-Picking Algorithm Steps
A
- Mark edge of smallest weight
- Mark edge of next smallest weight
- Do not complete a circuit
- Do not mark an edge more that twice
- Continue until you cannot make any edges
25
Planar Graph
- A graph that can be drawn so that no edges intersect each other
26
Planar Drawing
- A graph that is drawn in such a way that no edges touch
27
Steps to Identify a Planar Graph
1. Name the vertices
2. Find a Hamiltonian Path
3. Make a basic loop of these vertices
4. Draw in the remaining edges
* If all else fails, guess and check
28
Steps to Identify a Non-planar Graph
1. Name the vertices
2. Find a Hamiltonian Path
3. Make a basic loop of these vertices
4. Draw in the remaining edges
* If all else fails, guess and check
29
Euler's Formula
v + f = e + 2
30
Steps to Determine How Many Colors Are Needed to Color in a Graph
1. Create a graph
2. Erase the boundaries
3. Determine the number of colors needed so that no boundaries share a color
31
Ever PLANAR graph is 4-colorable
- Well, that's a cool fact!
32
What do these words mean:
- 2-colorable
- 3-colorable
- 4-colorable
- If the map uses 2 colors
- If the map uses 3 colors
- If the map uses 4 colors
33
Chromatic Number
- The number of colors needed for a non-planar graph
34
A graph is 2-colorable if...
- It has no circuits that consist of an odd number of vertices