ockquote>
A directed or undirected graph. The graph type must be a model of
<a href="VertexListGraph.html">Vertex List Graph</a>,
<a href="EdgeListGraph.html">Edge List Graph</a>,
and <a href="IncidenceGraph.html">Incidence Graph</a>.
</blockquote>

OUT: <tt>DistanceMatrix&amp; D</tt>
<blockquote>
The length of the shortest path between each pair of vertices
<i>u,v</i> in the graph is stored in <tt>D[u][v]</tt>. The set of
types {<tt>DistanceMatrix, vertices_size_type, D</tt>} must be a model
of <a href="Ba