Decision - Graphs and Networks Flashcards

1
Q

What is a graph?

A

A graph consists of points (called vertices or nodes) which are connected by lines (edges or arcs)

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

What are points on a graph called?

A

Vertices or nodes

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

What are lines on a graph called?

A

Edges or arcs

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

What is a weighted graph?

A

A graph that has a number associated with each edge (usually known as its weight)

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

What is a network?

A

A weighted graph

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

How are 2 vertices connected?

A

If there is a path between them

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

What is a connected graph?

A

A graph where all its vertices are connected

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 in which there are no loops and there is at most 1 edge connecting any pair of vertices

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

What is a directed graph?

A

A graph in which the edges of the graph have a direction associated with them, the edges are known as directed edges.

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

What is directed graph abbreviated to?

A

Digraph

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

What are all the vertices, or nodes, in a graph called?

A

The vertex set

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

What are all the edges, or arcs, in a graph called?

A

The edge set

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

What is a subgraph?

A

A subgraph of G is a graph, whos vertices belong to graph G and edges belong to G. It is simply a part of the original graph

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

What is the degree 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
15
Q

What is the valency of a vertex?

A

The degree of a vertex

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

What is an even vertex?

A

A vertex with an even degree/valency

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

What is an odd vertex?

A

A vertex with an odd degree/valency

18
Q

What is a loop?

A

An edge where the start vertex and end vertex are the same

19
Q

What does a loop add to the valency?

A

2

20
Q

What is the rule with odd vertex’s?

A

If you have odd vertex’s, you will always have an even number of them

21
Q

What is a walk?

A

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

22
Q

What is a path?

A

A path is a finite sequence of edges, such that the end vertex of one edge in the sequence is the start vertex of the next. No vertices can appear more than once

23
Q

What is a trail?

A

A trail is a walk in which no edge is visited more than once

24
Q

What is a cycle?

A

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

25
Q

What is a Hamiltonian cycle?

A

A Hamiltonian cycle is a cycle which includes every vertex

26
Q

What is the handshake lemma?

A

In any undirected graph, the sum of the degrees of the vertices is equal to 2 x the number of edges, as a result, the number of odd vertices must be even

27
Q

Why must the number of odd vertices be even?

A

The handshake lemma

28
Q

What is the order of a graph?

A

the degree or valency

29
Q

What is a circuit?

A

A walk in which the start vertex and end vertex are the same

30
Q

What is a tree?

A

A connected graph with no cycles

31
Q

What is a spanning tree?

A

A spanning tree is a subgraph, which includes all of the vertices and is a tree

32
Q

What is a complete graph?

A

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

33
Q

What is the formula for the number of sides of the completed graph Kₙ?

A

0.5n(n-1)

34
Q

What is an algorithm?

A

A set of instructions which are followed to achieve a task

35
Q

What is the meaning of this shape in a flow chart?

A

Start/End

36
Q

What is the meaning of this shape in a flow chart?

A

A command to follow

37
Q

What is the meaning of this shape in a flow chart?

A

A decision/question

38
Q

What is a planar graph?

A

A planar graph is a graph which can be drawn in a plane such that no two edges meet except for at a vertex

39
Q

What is 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 not already represented
  4. Make a list of all the edges “inside” the polygon
  5. Choose any unlabelled edge in your list and label it “I” for inside. If all edges are now labelled then the graph is planar
  6. Look at any unlabelled eges that cross the edge(s) just labelled:
    * If there are none then go back to step 5
    * If any of these edges cross each other then the graph is non-planar
    * If none of these edges cross each other, give them the opposite label the edge just labelled (“I” for inside or “O” for outside)
    * If all edges are now labelled, the graph is planar. Otherwise, go back to step 6.
40
Q
A