
Constructing an origin/destination matrix requires directional flow information between a series of locations. The above figure represents movements (O/D pairs) between five locations (A, B, C, D, and E). From this graph, an O/D matrix can be built where each O/D pair becomes a cell. A value of 0 is assigned for each O/D pair that does not have an observed flow.