Chapter 2: Graphs and Networks Flashcards

1
Q

What is a graph?

A

Consists of points (VERTICES/NODES) and the points are connected by lines (EDGES/ARCS)
A WEIGHTED GRAPH is a graph with numbers on each arc/edge

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

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

A

The DEGREE/VALENCY/ORDER of a vertex is the number of edges connected to the vertice
An EVEN degree is when the degree/valency/order of a vertex is an even number
An ODD degree is when the degree/valency/order of a vertex in an odd number

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

What is a walk and what type of walks are there?

A

A WALK is a route through a graph along edges from one vertex to another

A PATH is a walk where no vertex is visited more than once

A TRAIL is a walk where no edge is visited more than once

A CYCLE is a walk in which the start vertex and end vertex are the same and no vertex is visited more than once (a path but start and end vertex are the same)

A HAMILTONIAN CYCLE is a cycle that includes every vertex

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

What is a connected graph?

A

A CONNECTED GRAPH is where all vertices are connected

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

What is a loop?

A

A LOOP is an edge that starts and ends at the same vertex

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

What does a simple graph consist of?

A

A SIMPLE GRAPH has no loops and there is at most one edge connecting a 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 any undirected graph, the sum of the degrees/valencies/order of the vertices = 2 x the number of edges.
This means that the number of odd degree 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 TREE is 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 SPANNING TREE is a tree and a subgraph that includes all vertices

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 each vertex is connected to each every other vertice.
The number of edges for kn= 1/29(n)(n-1)

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

What is an isomorphic graph?

A

A graph that shows the same information but is drawn in a different way

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

What is an adjacency matrix?

A

It can be used to represent a graph or network

It shows the number of edges joining together two vertices

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

What is a distance matrix?

A

It is used when associated with weighted graphs

It shows the weight of each arc

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

What is a planar graph?

A

A graph that can be drawn so that no edges cross over each other and the edges only meet at the vertices.

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

What is the planarity algorithm?

A

It can be applied to graphs that contain a HAMILTONIAN CYCLE.

1) Identify a hamiltonian cycle, then draw a polygon to represent the hamiltonian cycle (include edges that aren’t in the hamiltonian cycle but join the nodes together inside)
2) Make a list of all the edges inside the polygon
3) Choose any edge and label is I
4) Look at any unlabelled edged that cross the labelled edge/s, if there are none, choose and label another edge.
5) If any of the edges cross each other, the graph is NON-PLANAR
6) If none of the edges cross each other, label them O
7) Continue step 4 and onwards until all edges are labelled. If all edges are labelled, the graph is PLANAR

EASIER WAY:
Split arcs into either arcs crossing just inside and arcs crossing just inside.
If you can make the list, the graph is PLANAR
If a graph has to cross both an inside and outside plane, it is NON-PLANAR

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