equal
deleted
inserted
replaced
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 |