![Creation of a Connectivity Matrix with a Link Table | The Geography of Transport Systems](https://i0.wp.com/transportgeography.org/wp-content/uploads/connectivity_matrix_link_table.png?resize=900%2C387&ssl=1)
A links table can easily be used to construct a connectivity matrix, a core element for measuring accessibility. It can be achieved by using a simple algorithm:
- The values of all the cells Cij in the connectivity matrix C are set to 0. The default assumption is that nodes are not linked.
- For each record of the links table, the link becomes a connection (value of 1).
- For each record of the links table, an inverted connection is created if the link is bi-directional (not a one way).