Graphs Flashcards

1
Q

What is a graph?

A

A graph is a set of nodes joined by a set of lines and arrows.

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

Network Theory

A

Provides a set of techniques for analysing graphs.

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

Complex systems network theory

A

Techniques for analysing structure in a system of interacting agents, represented as a network.

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

Definition of a Graph

A

A graph is a set of ordered triples G = (V, E, f) where V is a set of vertices. E is a set, whose elements are edges. f is a function which map each element of E to an unordered pair of vertices in V.

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

Simple Graph

A

A graph without multiple edges or self-loops.

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

Directed Graph

A

A graph where edges have directions so an edge is an ordered apir of nodes.

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

Weighted graph

A

A graph where each edge has an associated weight, usually given by a weight function.

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

Global structural metrics

A

Refer to a whole graph

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

Local structural metrics

A

Refer to a single node in a graph

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

Connected graph

A

Means you can get from any node to any other by following a sequence of edges or any two nodes are connected by a path.

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

Strongly Connected Directed Graph

A

There is a directed path from any node to any other node.

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

Components

A

Disconnected graphs can be split into their connected components.

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

Degree

A

Number of edges incident on a node

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

In-Degree

A

Number of edges entering

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

Out-degree

A

Number of edges leaving

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

Degree Properties

A

If G has m edges then deg(v) = 2m = 2|E|.
If G is a digraph then indeg(v) = outdeg(v)= |E|

Number of odd degree nodes is even

17
Q

Walks

A

A walk of length k in a graph is a succession of k edges of the form uv, vw, wx, …, yz.

This walk is denoted by uvwx…xz and is referred to as a walk between u and z.

A walk is closed if u=z.

18
Q

Path

A

A walk in which all the edges and all the nodes are different.

19
Q

Cycle

A

A closed walk in which all the edges are different.

20
Q

Empty Graph

A

Has no edges

21
Q

Null graph

A

No nodes so no edges either.

22
Q

Trees

A

Connected Acyclic Graphs

23
Q

Regular Graph

A

Connected graph where all nodes have the same degree.

24
Q

Bipartite Graph

A

The vertices can be partitioned into 2 sets V1 and V2 such that (u,v) e E implies either u e V1 and v e V2 or v e V1 and u e V2

25
Complete Graph
Every pair of vertices is adjacent.
26
Complete Bipartite Graph
Every node of one set is connected to every node on the other set.
27
Planar Graphs
Can be drawn on a plane such that no two edges intersect
28
Subgraph
Vertex and edge sets are subsets of those of G
29
Supergraph
A graph that contains G as a subgraph.
30
Clique
A maximum complete connected subgraph.
31
Spanning Subgraph
Has the same vertex set as G.
32
Spanning ree
A spanning tree in G is a subgraph of G that includes every node and is also a tree.
33
Isomorphic Graphs
An isomorphism is a bijection or one-to-one mapping. If an isomorphism can be constructed between two graphs then we say those graphs are isomorphic.
34
Adjacency List
An array of V lists, one for each vertex in V. For each U e V, ADJ[u] points to all its adjacent vertices.
35
Topological Distance
The topological distance between nodes p and q is the number of edges in the shortest path connecting them.
36
Random Graph Degree
If a graph has N nodes and a pair of nodes has probabilty p of being connected. The average degree of the graph is therefore k ~= pN.
37
If connections between people can be modelled as random graph then average pathlength between connected nodes is:
lnN/lnk where N is number of people and k is average degree per node i.e. the average number of people you know.