An algorithm for setting up adjacency matrices of benzenoid
hydrocarbons from their boundary sequences is detailed. A recipe
for computing the boundary code of a benzenoid structure from
its adjacency matrix is also given. Finally, an automatic procedure
is devised for computing approximate TRE values of benzenoids
from their boundary sequences via the Gutman-Petrovic formulae