What is a “Eulerian circuit”?
A circuit which includes EVERY edge of the graph exactly ONCE
What is a “Eulerian graph”?
A graph which has a Eulerian circuit
What is a “Eulerian trail”?
A walk with uses each edge exactly once (also called a Semi-Eulerian)
What is important to remember about Eulerian trails?
Starts at one of the odd vertices and ends at the other
What is a “Hamiltonian cycle”?
Visits each vertex exactly once and returns to the starting vertex
What is a “Hamiltonian graph”?
When a graph has a Hamiltonian cycle
What is a “Hamiltonian path”?
A path where each vertex is visited exactly once
What is Kruskal’s algorithm?
Kruskal’s Algorithm builds a minimum spanning tree by adding edges at a time
What is Prim’s algorithm?
Kruskal’s algorithm may be difficult to implement on large graphs (tough to check for cycles), therefore we use Prim’s algorithm!
Prim’s algorithm builds up the tree by adding vertices one at a time
What is the Chinese postman problem?
The Chinese postman problem is to find the shortest path around the graph which uses each edge at least once and returns to the starting point.
–> IF the graph is Eulerian, the Eulerian cycle is a solution to the problem
How is the Chinese postman problem carried out if there are 2 odd vertices?
How is the Chinese postman problem carried out if there are 4 odd vertices?
What is the Traveling salesman problem?
The travelling salesman problem is to find the shortest route around a graph which visits each vertex at least once and returns to the starting point.
–> This is difficult to do, so you must calculate an UPPER and LOWER bound
How would you calculate the UPPER BOUND for the Traveling salesman problem?
Nearest Neighbor Algorithm:
How would you calculate the LOWER BOUND for the Traveling salesman problem?
Deleted Vertex Algorithm: