Title: Chapter 1 Euler Circuits
1Chapter 1Euler Circuits
- Graph a finite set of dots called Vertices and
connecting links called Edges which connect two
different vertices. Graphs can represent a city
map, communications network, system of air routes.
Graph
Not a graph
2Forming a Graph from a street network
a)
d)
c)
3Chapter 1Euler Circuits
Path connected sequence of edges showing a route
on the graph that starts at a vertex and ends at
a vertex. Notation Name the vertices visited
AFEB
Circuit a path that starts and ends at the same
vertex AFEDCBA
4- Euler Circuit Circuit that covers every edge
only once - AFEBEDCBA
Valence of a vertex in a graph is the number of
edges meeting at the vertex. Vertices A,F,C,D
each have valence 2 while vertices B and E each
have valence 4.
Connected Graph a graph is connected if for
every pair of its vertices, there is at least
one path connecting the two vertices.
Connected
Not Connected
5Eulers Theorem a graph has an Euler circuit if
and only if it has even valences is connected.
Example Finding an Euler Circuit
6Chinese Postman Problem we know that there is no
Euler circuit for a graph with odd valences.
Therefore, we want to minimize the number of
edges that must be reused.
How? Eulerize the graph by adding edges to the
graph to make all valences even! Then squeeze
this Eulerized circuit onto the original graph by
reusing an edge of the original graph each time
the circuit on the eulerized graph uses an added
edge.
7Diagraph a graph in which each edge has an arrow
indicating the direction of the edge. Used for
one way streets, etc.
Street network
the digraph model
8Credits
- COMAP, For All Practical Purposes, 5th ed.