Graphs and Networks Flashcards

1
Q

What is a graph

A

A diagram involving a set of points and interconnecting lines

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

What is a vertex

A

A point on a graph

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

What is an edge/arc

A

A line connecting two nodes/vertices

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

What is an isomorphic graph

A

two or more graphs that show the same set of vertices and connections

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

What is a connected graph

A

A graph where you can travel from any vertex to any other vertex via edges

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

What is a multiple edge

A

two or more edges that connect the same pair of vertices

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

What is a loop

A

a vertex connected to itself

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

What is a simple graph

A

A graph with no loops or multiple edges

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

What is a subgraph

A

A graph formed using only some of the vertices and edges of the original graph

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

What is a sub-division

A

if you add an extra vertex along the edge of a graph

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

what is a complete graph and its notation

A

a simple graph that has an edge connected it to all possible vertex pairs. Notation Kn where n = number of vertices.

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

what is a planar graph

A

A graph where none of the edges cross over eachother

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

what is the degree of a vertex

A

the number of edges coming out of a vertex

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

what is the formula linking the total degrees and total edges

A

total number of degrees = 2 x total edges

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

What is Euler’s formula

A

v + f - e = 2

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

What is an adjacency matrix

A

a table showing the vertices and number of connections between them

17
Q

what is a compliment graph and its notation

A

a graph formed by drawing all the edges that don’t exist in the original graph and removing those that do (G’)

18
Q

What is a trail

A

a continuous journey around a graph with no repeated edges

19
Q

what is a closed trail

A

a trail that returns to its start vertex

20
Q

what is a path

A

a continuous journey around a graph with no repeated edges or vertices

21
Q

what is a cycle

A

a path that returns to its start vertex

22
Q

what is a tree

A

a connected graph with no cycles

23
Q

What is a hamiltonian cycle

A

a cycle that visits every vertex once

24
Q

what is an Eulerian Graph and how can you tell

A

A trail that starts and finishes in the same place, all it’s vertices have an even degree

25
Q

what is a semi eulerian graph and how can you tell

A

if a graph can only be drawn by starting and finishing at different points, if it has two odd degree vertices

26
Q

What is Kruskal’s algorithm

A

for MST
1. choose the arc with the least weight
2. choose the arc with the next least weight, avoiding a cycle
3. repeat step 2 until all nodes are connected

27
Q

what is Prim’s algorithm

A

for MST
1. choose any node
2. choose the arc with the least weight to join a connected node with an unconnected node
3. repeat step 2 until all nodes are connected

28
Q

what is the algorithm for the chinese postman/route inspection problem

A
  1. identify all odd nodes
  2. list all possible pairings
  3. for each pairing find the shortest route between them and the total weight of these routes
  4. choose the pairing with the smallest total and add it to the total weight of the network
29
Q

what is the algorithm for the travelling salesmen problem

A

Upper bound:
Nearest Neighbour algorithm
1. choose a starting node
2. from current position, choose arc with the least weight leading to an unvisited node
3. repeat step 2 until all nodes are visited
4. travel back to the starting node and find the total weight of this journey

Lower Bound:
1. remove a node and it’s connected arcs
2. construct an MST
3. add the weight of the MST to the weight of the lowest two arcs that have been removed

30
Q

what is the feasibility condition

A

states that the flow cannot exceed the capacity

31
Q

what is the conservative condition

A

states that for every node apart from the source and sink, total inflow=total outflow

32
Q

what is the theorem for flows and cuts

A

maximum flow = minimum cut