Lines Matching defs:distance
102 sub distance {
127 $am->distance($u, $v)
130 $am->distance($u, $v)
138 and optionally also the distance matrix of a graph, and after that
140 method, or query the distance between vertices by using the
141 C<distance()> method.
143 By default the edge attribute used for distance is C<w>, but you
147 the adjacency matrix and the distance matrix may become invalid.
169 distance matrix, use the attribute C<distance_matrix> with a true value
174 By default the edge attribute used for distance is C<w>. You can
177 causes the distance matrix to be computed.
191 =item distance($u, $v)
193 Return the distance between the vertices $u and $v, or C<undef> if