2 - Graphs and networks Flashcards

1
Q

Define a walk.

A

A route through a graph along edges from one vertex to the next.

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

Define a path.

A

A walk in which no vertex is visited more than once.

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

Define a trail.

A

A walk in which no edge is visited more than once.

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

Define a cycle.

A

A walk in which the end vertex is the same as the start vertex, and no other vertex is visited more than once.

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

Define a Hamiltonian cycle.

A

A cycle that includes every vertex.

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

Define a simple graph.

A

A graph in which there are no loops and there is at most one edge connecting any pair of vertices.

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

What is Euler’s handshaking lemma?

A

In an undirected graph, the sum of degrees of vertices is 2x the number of edges. So the number of odd vertices must be even.

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

What is a tree?

A

A connected graph with no cycles.

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

What is a spanning tree?

A

A subgraph which includes all vertices and is a tree.

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

What is a complete graph?

A

A graph in which every vertex is directly connected by a single arc to every other vertex.

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

What are isomorphic graphs?

A

Graphs which are drawn differently, but contain the same information. (edges and arcs)

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

Define a planar graph.

A

A graph which can be drawn in a way such that no two edges meet except at a vertex. (no edges cross)

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

Describe the planarity algorithm.

A
  1. Identify Hamiltonian cycle
  2. Draw a polygon with vertices labelled as in Hamiltonian cycle
  3. Draw arcs inside polygon as in original graph (excluding ones done by edges of polygon)
  4. Make a list of all edges inside polygon
  5. Choose an unlablled edge and label it I
  6. Look at unlabelled edges which cross edge in Step 5
    * If there are none, go back to Step 5
    * If any of these cross each other, the graph is non-planar
    * If none do, label them the opposite to the prior labelled graph (O in the first case)
    * If all edges are now labelled, the graph is planar, else go back to Step 5.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly