equal
deleted
inserted
replaced
31 */ |
31 */ |
32 |
32 |
33 ///\ingroup paths |
33 ///\ingroup paths |
34 ///\file |
34 ///\file |
35 ///\brief Classes for representing paths in graphs. |
35 ///\brief Classes for representing paths in graphs. |
|
36 /// |
|
37 ///\todo Iterators have obsolete style |
36 |
38 |
37 #ifndef LEMON_PATH_H |
39 #ifndef LEMON_PATH_H |
38 #define LEMON_PATH_H |
40 #define LEMON_PATH_H |
39 |
41 |
40 #include <deque> |
42 #include <deque> |
155 /* Iterator classes */ |
157 /* Iterator classes */ |
156 |
158 |
157 /** |
159 /** |
158 * \brief Iterator class to iterate on the edges of the paths |
160 * \brief Iterator class to iterate on the edges of the paths |
159 * |
161 * |
160 * \ingroup paths |
|
161 * This class is used to iterate on the edges of the paths |
162 * This class is used to iterate on the edges of the paths |
162 * |
163 * |
163 * Of course it converts to Graph::Edge |
164 * Of course it converts to Graph::Edge |
164 * |
165 * |
165 */ |
166 */ |
202 }; |
203 }; |
203 |
204 |
204 /** |
205 /** |
205 * \brief Iterator class to iterate on the nodes of the paths |
206 * \brief Iterator class to iterate on the nodes of the paths |
206 * |
207 * |
207 * \ingroup paths |
|
208 * This class is used to iterate on the nodes of the paths |
208 * This class is used to iterate on the nodes of the paths |
209 * |
209 * |
210 * Of course it converts to Graph::Node |
210 * Of course it converts to Graph::Node |
211 * |
211 * |
212 */ |
212 */ |
253 friend class Builder; |
253 friend class Builder; |
254 |
254 |
255 /** |
255 /** |
256 * \brief Class to build paths |
256 * \brief Class to build paths |
257 * |
257 * |
258 * \ingroup paths |
|
259 * This class is used to fill a path with edges. |
258 * This class is used to fill a path with edges. |
260 * |
259 * |
261 * You can push new edges to the front and to the back of the path in |
260 * You can push new edges to the front and to the back of the path in |
262 * arbitrary order then you should commit these changes to the graph. |
261 * arbitrary order then you should commit these changes to the graph. |
263 * |
262 * |
492 |
491 |
493 |
492 |
494 /** |
493 /** |
495 * \brief Iterator class to iterate on the edges of the paths |
494 * \brief Iterator class to iterate on the edges of the paths |
496 * |
495 * |
497 * \ingroup paths |
|
498 * This class is used to iterate on the edges of the paths |
496 * This class is used to iterate on the edges of the paths |
499 * |
497 * |
500 * Of course it converts to Graph::Edge |
498 * Of course it converts to Graph::Edge |
501 * |
499 * |
502 * \todo Its interface differs from the standard edge iterator. |
500 * \todo Its interface differs from the standard edge iterator. |
540 }; |
538 }; |
541 |
539 |
542 /** |
540 /** |
543 * \brief Iterator class to iterate on the nodes of the paths |
541 * \brief Iterator class to iterate on the nodes of the paths |
544 * |
542 * |
545 * \ingroup paths |
|
546 * This class is used to iterate on the nodes of the paths |
543 * This class is used to iterate on the nodes of the paths |
547 * |
544 * |
548 * Of course it converts to Graph::Node |
545 * Of course it converts to Graph::Node |
549 * |
546 * |
550 * \todo Its interface differs from the standard node iterator. |
547 * \todo Its interface differs from the standard node iterator. |
593 friend class Builder; |
590 friend class Builder; |
594 |
591 |
595 /** |
592 /** |
596 * \brief Class to build paths |
593 * \brief Class to build paths |
597 * |
594 * |
598 * \ingroup paths |
|
599 * This class is used to fill a path with edges. |
595 * This class is used to fill a path with edges. |
600 * |
596 * |
601 * You can push new edges to the front and to the back of the path in |
597 * You can push new edges to the front and to the back of the path in |
602 * arbitrary order then you should commit these changes to the graph. |
598 * arbitrary order then you should commit these changes to the graph. |
603 * |
599 * |