Graphs and networks Flashcards

1
Q

What is a graph?

A

Points (vertices or nodes) which are connected by lines (edges or arcs).
If a graph has a number associated with each edge, then the graph is a weighted graph or network.

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

What is a subgraph?

A

A graph consisting of edges and nodes belonging to the original graph.

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

What is the degree/valency/order of a vertex?

A

The number of edges incident to it.

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

What is 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
5
Q

What is 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
6
Q

What is 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
7
Q

What is 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
8
Q

What is 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
9
Q

What is a connected graph?

A

A graph in which all vertices are connected.

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

What is a loop?

A

An edge that starts and finishes at the same vertex.

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

What is a simple graph?

A

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

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

What is a digraph?

A

A graph in which edges have a direction associated with them.

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

What is Euler’s handshaking lemma?

A

In any undirected graph, the sum of the degrees of the vertices is equal to 2 x the number of edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
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
15
Q

What is a spanning tree?

A

A subgraph which includes all the vertices of the original graph and is also a tree.

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

What is a complete graph?

A

A graph in which every vertex is directly connected by a single edge to each of the other vertices.

17
Q

What are isomorphic graphs?

A

Graphs which show the same information drawn differently.

18
Q

What do the numbers in adjacency matrices show?

A

The number of arcs joining the corresponding vertices. Put 0 where the headings are the same, unless there is a loop in which case you should put 2.

19
Q

What do the numbers in a distance matrix show?

A

The weight of each arc between corresponding vertices. Put dashes through the leading diagonal.

20
Q

What is a planar graph?

A

A graph that can be drawn in a plane such that no two edges meet except at a vertex.

21
Q

How do you execute the planarity algorithm?

A
  1. identify a hamiltonian cycle
  2. draw a polygon with vertices labelled to match the ones in the hamiltonian cycle
  3. draw edges inside the polygon to match the edges of the original graph
  4. make a list of all the edges inside the polygon
  5. chose an unlabelled edge and label it I. If all edges are now labelled the graph is planar
  6. look at the unlabelled edges that cross the edge just labelled, if none of them cross each other give them all the opposite label. If any of these edges cross each other the graph is non planar.