Þd

Characters: Þ, d

Þ

d

Distance matrix of directed graph

lst

distance matrix of a directed graph (where a = [[i, j] for each edge i to j])