Graph Theory Flashcards

(53 cards)

1
Q

Define a graph

A

An ordered pair (V, E), where V is a non-empty finite set and E is an unordered subset of 2 elements of V.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define isomorphic graphs

A

Two graphs, G and H are isomorphic if there exists a bijection φ: V(G) → V(H) such that xy ∈ E(G) if and only if φ(x)φ(y) ∈ E(H).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define a subgraph

A

H is a subgraph of G if H is a graph with V(H) ⊆ V(G) and E(H) ⊆ E(G).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define a complete graph

A

The graph with all possible edges included.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define an empty graph

A

The graph with vertices and no edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define a path graph

A

The graph with V = {v0, v1, …, vn} and E = {v0v1, v1v2, …, v(n-1)vn}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define a cycle graph

A

The graph with V = {v0, v1, …, vn} and E = {v0v1, v1v2, …, v(n-1)vn, vnv0}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define adjacent vertices

A

Given a graph G, two vertices, v and w are adjacent if vw ∈ E(G).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define a walk

A

Given a graph G, a walk is a sequence v0v1…vt of (not necessarily distinct) vertices of G such that v(i-1)vi ∈ E(G) for all 1 ≤ i ≤ t.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define a closed walk

A

A closed walk is a walk with the same first and last vertices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define a path

A

A path is a walk with distinct vertices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define connected vertices

A

Vertices x, y in G are connected if there exists a path between them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define a connected graph

A

G is connected if every pair of points in G is connected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define a component of a graph

A

H is a component of a graph G if it is a connected subgraph of G.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Define an acyclic graph

A

A graph G is acyclic if it does not have any subgraphs which are cycles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define a tree

A

A tree is a connected acyclic graph.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Define a minimal connected graph

A

A graph G is minimal connected if it is connected, but removing any edge e from E(G) results in G – e not being connected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Define neighbours

A

If uv ∈ E(G), then we say that u and v are neighbours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Define a neighbourhood

A

Given v ∈ V(G), the neighbourhood of v is Γ(v) = {neighbours of v}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Define an incident edge

A

If e = uv ∈ E(G), then we say e is incident to u and v.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Define a degree

A

The degree of v ∈ V(G) is |Γ(v)|.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Define a leaf

A

A leaf is a vertex with degree 1.

23
Q

Define a spanning subgraph

A

A spanning subgraph of G is a subgraph H such that V(G) = V(H).

24
Q

Define a spanning tree

A

A spanning subgraph which is also a tree.

25
Define a weighted graph
A graph with a positive weight assigned to each edge.
26
Define the cost of a set of edges
The cost of S ⊆ E(G) is the sum of the cost of all the edges in S.
27
Define a minimal cost spanning tree
S ⊆ E(G) such that (V(G), S) is a connected subgraph of G and the cost of S is minimised.
28
Give Kruskal's Algorithm
Begin with A0 = ∅. At step i ≥ 0, if there is an edge e ∈ E(G)\Ai such that (V(G), Ai + e) is acyclic, set A(i+1) = Ai + e and proceed to step i + 1, otherwise stop.
29
Define an Euler trail
An Euler trail in a graph G is a walk in G where every edge of G appears exactly once.
30
Define an Euler tour
An Euler tour is an Euler trail which begins and ends at the same vertex.
31
Define an Eulerian graph
A graph which has an Euler tour.
32
Define an isolated vertex
A vertex of G is isolated if the degree of the vertex is 0.
33
State the handshaking lemma
In any graph, there are an even number of vertices with odd degree.
34
State Fleury's algorithm
Start at any vertex v0 of G and initially let H = G. At every step, if vi is isolated, stop. Otherwise, pick any neighbour v(i+1) of vi such that once removing viv(i+1) and any isolated points from H, H will still be connected. Then, repeat.
35
Define a Hamiltonian cycle
A cycle in G which contains every vertex of G.
36
Define a Hamiltonian graph
A graph which contains a Hamiltonian cycle.
37
State Ore's Theorem
Let G be a graph with n ≥ 3 edges. Suppose that for every pair of non-adjacent vertices x and y, d(x) + d(y) ≥ n, then G is Hamiltonian.
38
Define the l-length of a path
Given a connected graph G with an assigned length l(e) for each e ∈ E(G), the l-length of a path P is the sum of all l(e) for edges e ∈ P.
39
Define the l-shortest path
Given two vertices x, y ∈ V(G), the l-shortest path is an xy-path P that minimises l(P).
40
State Dijkstra's algorithm
Begin with U = V(G)\{x} and let D(v) = ∞ for all v ∈ V(G)\{x}. The algorithm will terminate whenever U is empty. At each step of the algorithm, pick u ∈ U such that D(u) is minimal and for any v ∈ U adjacent to u, let (D(v) = min(D(v), D(uv)).
41
Define a parent vertex
For any vertex, the parent of v is the last vertex to be assigned a finalised value.
42
Define a bipartite graph
A graph G is bipartite if we can partition V(G) into two sets A and B such that every edge crosses between A and B.
43
Define a matching
M ⊆ E(G) is a matching if the edges in M are pairwise disjoint.
44
Define a perfect matching
A matching M is perfect if every vertex belongs to some edge of M
45
Define an alternating path
Given a graph G, a matching M and a path P, P is M-alternating if every other edge of P is in M.
46
Define an augmented path
Given a graph G, a matching M and a path P, P is M-augmenting if P is M-alternating and its end vertices are not in any edge of M.
47
State the search algorithm
Start with R = A*, then repeat the following step: if there is an edge directed from some x ∈ R to y ∉ R, then add y to R, otherwise stop. There is a directed path from A* to B* if and only if the final R intersects B*.
48
State the Hungarian algorithm
Start with M = ∅. Orient the edges in G such that all edges in M are one-way from B to A and all the edges not in M are one-way from A to B. Let A* and B* be the vertices that are not in any edge of M. Use the search algorithm to find a directed path from A* to B*. If there is no such path stop, otherwise the path is M-augmenting and we can flip the path to increase the size of M. Then repeat.
49
Define a cover
A cover of a graph G is a subset of vertices C such that every edge contains at least one vertex of C.
50
State Konig's Theorem
In any bipartite graph, the size of a maximum matching equals the size of the minimum cover.
51
State Hall's Theorem
Let G be a bipartite graph with parts A and B. Then G has a matching covering A if and only if every S ⊆ A satisfies |N(S)| ≥ S.
52
Define a postman's walk
W is a postman walk of G if it is closed and uses every edge of G.
53
State Edmond's Algorithm
Let X be the set of vertices with odd degree in G. For each x ∈ X, find the shortest path tree Tx rooted at x. Find a perfect matching M on X with minimum weight. This works as |X| is even by the handshaking lemma. Let G* be the Eulerian extension of G obtained by copying all edges in the xy-path in Tx for all xy in the matching. Find an Euler tour in G* and then interpret this as a postman walk.