Introduction to Networks & Matrices
What is a network?
- A network is a weighted graph
- A network is used to model real-world situations
- The weight of an edge usually represents a measure such as distance or time
What is a matrix?
- A matrix can be used to represent a graph or network in the form of a table
- The elements within the matrix give information about the connections between the different vertices
- A matrix is typically set up with the following labelling system
- Rows are labelled with the 'from' vertices
- Columns are labelled with the 'to' vertices