Networks Flashcards

1
Q

Define

Network diagram

A

A representation of a group of objects called vertices that are connected together by lines. Network diagrams are also called graphs.

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

Define

Vertex

A

A oint (or dot) in a ntwork diagram at which lines of pathways intersect or ranch. Vertices are also called nodes.

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

Define

Edge

A

The line that connects two vertices. Edges can cross each other without intersecting at a node.

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

Define

Degree

(of a vertex)

A

The degree of a vertex is the number of edges that are connected to it. The degree of a vertex is either even or odd.

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

Define

Loop

(in a network)

A

An edge which starts and ends at the same vertex. It counts as one edge, but it contributes two to the degree of the vertex.

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

Define

Directed edge

A

Also called an arc, it has an arrow and travel is only
possible in the direction of the arrow.

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

Define

Walk

A

a connected sequence of the edges showing a route between vertices and edges.

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

Define

Trail

A

A walk with no repeated edges.

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

Define

Path

A

A walk with no repeated vertices or repeated edges. Open paths start and finish at different vertices while closed paths start and finish at the same vertex.

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

Define

Circuit

A

A walk with no repeated edges that starts and ends at the same vertex.. Circuits are also called closed trails. Alternatively, open trails start and finish at different vertices.

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

Define

Cycle

A

A walk with no repeated vertices that starts and ends at the same vertex. There are no repeated edges in a cycle as there are no repeated vertices. Cycles are closed paths.

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

Define

Hamiltonian path

A

A path passes through every vertex of a
graph once and only once.

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

Define

Hamiltonian cycle

A

A Hamiltonian path that starts and finishes
at the same vertex.

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

Define

Eulerian trail

A

A trail that uses every edge of a graph exactly once and starts and ends at different vertices. Eulerian trails exist if the graph has exactly two vertices with an odd degree.

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

Define

Eulerian circuit

A

A circuit that uses every edge of a network graph exactly once, and starts and ends at the same vertex. Eulerian circuits exist if every vertex of the graph has an even degree.

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

Define

Tree

A

A connected graph that contains no cycles, multiple edges or loops.

17
Q

Define

Spanning tree

A

A tree which connects all the vertices in
the graph

18
Q

Define

Minimum spanning tree

A

A spanning tree of minimum length. It connects all the vertices together with the minimum total weighting for the edges.

19
Q

Prim’s algorithm

A
  1. Choose a starting vertex (any will do).
  2. Inspect the edges starting from the starting vertex and choose the one with the lowest weight. (If there are two edges that have the same weight, it does not matter which one you choose).
  3. Inspect all of the edges starting from both of the vertices you have in the tree so far. Choose the edge with the lowest weight, ignoring edges that would connect the tree back to itself.
  4. Keep repeating step 3 until all of the vertices are connected.
20
Q

Kruskal’s algorithm

A
  1. List all the edges in ascending order of length.
  2. Choose the shortest edge. If two edges are the same length, arbitarily choose one.
  3. Choose the next shortest edge. It does not matter if this edge is connected to the first edge or not.
  4. Choose the next shortest edge which doesn’t create a cycle
  5. Continue until all vertices are connected
21
Q

Dijkstra’s Algorithm

A

Choose a starting node and calculate the shortest distance to the next nodes. These nodes are then marked as “visited” and their shortest distances is used in calculations for later nodes.