algorithms.dox
changeset 55 edb7d5759e0d
parent 49 c8c5a2a4ec71
child 57 18404ec968ca
equal deleted inserted replaced
1:a6c42b4db59f 2:78e34389b3f7
   194 which can still be used quite flexibly due to named parameters.
   194 which can still be used quite flexibly due to named parameters.
   195 
   195 
   196 The original sample code could also use the class interface as follows.
   196 The original sample code could also use the class interface as follows.
   197 
   197 
   198 \code
   198 \code
   199   Dijkstra<ListDigraph> dijktra(g, length);
   199   Dijkstra<ListDigraph> dijkstra(g, length);
   200   dijkstra.distMap(dist);
   200   dijkstra.distMap(dist);
   201   dijsktra.init();
   201   dijsktra.init();
   202   dijkstra.addSource(u);
   202   dijkstra.addSource(u);
   203   dijkstra.start();
   203   dijkstra.start();
   204 \endcode
   204 \endcode