Distances are accurate within the numerical tolerance of the
network, summary(X)$toler
.
For network data stored in the non-sparse
representation described in linnet
,
then pairwise distances are computed using the matrix of path distances
between vertices of the network, using R code if
method = "interpreted"
, or using C code if
method="C"
(the default).
For networks stored in the sparse representation,
the argument method
has no effect, and the distances are
computed using an efficient C algorithm.