Modelling With Algorithms Definitions Flashcards

(18 cards)

1
Q

Algorithm

A

A set of precise and step-by-step instructions used to solve a problem with a clear input and output. It must terminate

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

Heuristic algorithm

A

Does not give an optimal solution, but a sufficient one

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

Graph

A

A finite set of points connected by lines

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

Degree of a vertex

A

The number of edges leaving the vertex

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

Handshake lemma

A

The sum of the degrees of all the vertices is twice the number of edges, so is always even

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

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

Connected graph

A

Every vertex is connected by one edge/ a sequence of edges to every other vertex

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

Complete graph

A

A simple graph where every pair of nodes is connected by an edge

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

Subgraph

A

A part of a graph which is itself a graph

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

Digraph

A

A graph where edges have directions

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

Planar graph

A

A graph that can be drawn so that none of the arcs cross

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

Kruskal’s algorithm

A

An algorithm that

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

Prim’s algorithm

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

Maximum capacity

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

Maximum flow

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

Minimum flow