Graph Theory Flashcards
(33 cards)
Planar Graph
No edges intersect or corss except at vertices
Faces
outside is also a face
Euler’s formula
v-e+f=2
What is a walk
Sequence of edges
open walk
walk that starts and finish at different vertices
Closed walk
Walk that starts and finishes at same vertex
What is trail
trail is walk with no repeated edges
Closed trail
trail that starts and ends at same vertex
What is a path
Path is walk with no repeated edges and no repeated vertices
Open path
Path is walk with no repeated edges and no repeated vertices and doesnt end at same vertices
Closed path
Path is walk with no repeated edges and no repeated vertices and end at same vertices
What is a cycle
cycle is path with no repeated edges and no repeated vertices that start and end at same vertex. Important that no repeated stuff except for start and end vertices
What is a transversible graph and rules
has trail that includes every edge, rules 2 vertices odd or everything even.
What is a eulerian graph
Eulerian if it has closed trail that includes every edge nonly once. to be eulerian graph must be connected and havel all vertices to be even degree
What is semi elulerian
has open trail that includes every edge only once. to be semi eulerian graph must be connected, have exactly 2 odd vertices. Eulerian trail must start and finish at odd dgrees
Hamiltonian path
involves all vertices but not neccessarily all edges.
Djikistra algorithm
shortrst route between 2 vertices
Hamiltonian cycle
Hamiltonian path that starts and finishes at same vertices
but note that Hamiltonian cycle does not have to involve all edges
What is transversible graph
A traversable graph has a trail that includes every edge in the graph
Rules for tansversable graph
must be connected,
all vertices are of even degree; or
exactly two vertices are of odd degree and the rest are of even degree.
a traversable graph will have either a trail (open or closed) or a cycle that involves the
use of every edge in the graph
Is a grapg more than two vertices transversible
no
What is a Eulerian Graph
s Eulerian if it has a closed trail that includes every edge once only, To be Eulerian, a graph must:
be connected
have all vertices of an even degree.
An Eulerian graph can start at any vertex and will also finish at that vertex.
What is a Semi Eulerian Graph
s semi-Eulerian if it has an open trail that includes every edge
once only. The trail in an Eulerian graph is called an Eulerian trail.To be semi-Eulerian, a graph must:
be connected.
have exactly two vertices of an odd degree.
An Eulerian trail must start at one of the odd degree vertices and will finish at the other
odd degree vertex.
Hint: Remember that Eulerian graphs a
What is a Hamiltonian Path
h involves all the vertices but not
necessarily all the edges