Modelling with algorithms: networks Flashcards

1
Q

In discrete mathematics, what is a graph?

A

a graph is a set of lines(called arcs or edges) connecting points(nodes or vertices)

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

What is a loop?

A

A loop is an arc with the same node at both ends.

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

What does multiple arcs refer to?

A

when two nodes are connected by more than one arc

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

What is order/degree?

A

The order/degree of a node is calculated as the number of arcs incident to it.

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

What is an Incidence matrix?

A

A table which represents a graph, by showing the number of arcs that directly connect one node to another

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

Two nodes that directly connect are said to be?

A

adjacent

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

what does the sum of each column or row in the matrix give?

A

it shows the ORDER of each relevant node

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

What is a Connected graph?

A

A graph in which each node is directly or indirectly connected to every other node (basically there is only one shape, not several)

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

What is a simple graph?

A

a graph with no REPEATED arcs or loops

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 every node is connected directly to every other node

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

Formula for complete graph?

A

K = n(n-1) / 2
n is the number of nodes, K is number of arcs

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

What is a tree?

A

A simple connected graph with no cycles, and the minimum number of arcs , (n - 1)

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

formula for tree

A

k = n -1
k is arcs, n is nodes

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

bipartite and digraph

A

bipartite is when graphs are in distinct sets and each node connects to at least one node in the other set

digraphs have a directed node with an arrow

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

What is a trail?

A

A sequence of joined edges where no edge is gone over more than once

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

what is a path?

A

a sequence of edges where the vertex on the end of one edge is the start of the next, and no vertexes are repeated(besides perhaps first or last)

17
Q

what is a spanning tree?

A

A subgraph of a graph which is a tree and has the same vertices

18
Q

What is the formula for the maximum number of trees that can be made

A

m = n -2
n is number nodes, m is number of graphs

19
Q

What is a eulerian graph? What condition is there on the nodes?

A

a graph on which a trail that uses all edges once can be make, that starts and ends on the same vertex .
For a graph to be eulerian, there can be no nodes with odd degree

20
Q

What is a se,i eulerian graph? what conditions does it have on the nodes?

A

is a graph where a trail can be made that uses all edges ones, but starts and ends at different vertices
there can be only EXACTLY two nodes with odd degree