graph Flashcards
Circuit
starts and ends in the same vertex
Path
any path between two vertices
Euler
Goes through every edge in the graph
Hamilton
goes through every vertex in the graph.
simple graph
not more than two edges connecting the same vertices
Kn
Complete graph:
every vertex is connected to every other vertex
Cn
Cycle:
triangle, square, pentagon, hexagon,
Bipartite graph:
V1 and V2, each edges ONLY connects one V1 element, and one V2 element.
How to determine if bipartite:
A graph is bipartite if and only if it is not possible to start
at a vertex and return to this vertex by traversing an odd
number of distinct edges.
ODD: not bipartite
strongly connected:
There is a path to every vertex from every vertex, otherwise weakly connected
if there’s “two” graph, not weakly connected
Euler circuit
Exists when it only has even degree vertices
Euler path
Exists if there is only two vertices of odd degree
Hamilton circuit
If G is a simple graph with n ≥ 3, then G has a Hamilton circuit
if the degree of each vertex is at least n/2
hamilton path:
If G is a simple graph with n ≥ 3, then G has a Hamilton circuit if
d(u) + d(v) >= n for every pair of non adjacent vertices u and v
K m,n
every vertex of V1 (m) goes to every element of V2 (n)