Graphs Flashcards
What is a graph?
A graph is a set of nodes joined by a set of lines and arrows.
Network Theory
Provides a set of techniques for analysing graphs.
Complex systems network theory
Techniques for analysing structure in a system of interacting agents, represented as a network.
Definition of a Graph
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.
Simple Graph
A graph without multiple edges or self-loops.
Directed Graph
A graph where edges have directions so an edge is an ordered apir of nodes.
Weighted graph
A graph where each edge has an associated weight, usually given by a weight function.
Global structural metrics
Refer to a whole graph
Local structural metrics
Refer to a single node in a graph
Connected graph
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.
Strongly Connected Directed Graph
There is a directed path from any node to any other node.
Components
Disconnected graphs can be split into their connected components.
Degree
Number of edges incident on a node
In-Degree
Number of edges entering
Out-degree
Number of edges leaving