1 Flashcards

1
Q

Algorithm

A

A specific set of instructions for carrying out a procedure or solving a problem.

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

Graph

A

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

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

Weighted graph

A

If a graph has a number associated with each edge (usually called its weight), then the graph is known as a weighted graph or network.

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

Vertex set

A

The list of vertices or nodes

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

Edge set

A

The list of edges or arcs

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

Subgraphs

A

A subgraph is one where each of the vertices and edges in it belong to the original graph

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

Degree / valency

A

The valency of a vertex is the number of edges incident to it. A loop adds 2 to a valency. If you have odd valencies there will always be an even number of them.

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

Walk

A

A walk is 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
9
Q

Path

A

A path is 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
10
Q

Trail

A

A trail is 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
11
Q

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

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

Hamiltonian cycle

A

A Hamiltonian cycle is a cycle which includes every vertex

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

Connected graphs

A

A graph is connected if all its vertices have a path between them

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

Simple graph

A

A simple graph is one where there are no loops and there is at most one edge connecting any pair of vertices.

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

Directed graph

A

A directed graph is one in which the edges of the graph have a direction associated with them, the edges are known as directed edges. Directed graph is abbreviated to digraph.

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

Loop

A

A loop is an edge which starts and finishes at the same vertex

17
Q

The handshake lemma

A

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

18
Q

Tree

A

A tree is a connected graph with no cycles

19
Q

Spanning tree

A

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

20
Q

Complete graphs

A

A complete graph is a graph in which every vertex is directly connected by a single edge to each of the other vertices. No. Edges: VERTEXn = n(n-1)/2