The adjacency matrix is represented as an array of $[N_{hardmacros} + N_{softmacros} + N_{ports}]\times [N_{hardmacros} + N_{softmacros} + N_{ports}]$ elements.
For each entry of the adjacency matrix, it represents the total number of connections between module $i$ and module $j$ subject to all corresponding pins.