Changeset 1946:17eb3eaad9f8 in lemon-0.x for lemon/concept/graph.h
- Timestamp:
- 02/02/06 18:43:24 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/concept/graph.h
r1909 r1946 193 193 /// Its usage is quite simple, for example you can count the number 194 194 /// of nodes in graph \c g of type \c Graph like this: 195 /// 195 ///\code 196 196 /// int count=0; 197 197 /// for (Graph::NodeIt n(g); n!=INVALID; ++n) ++count; 198 /// 198 ///\endcode 199 199 class NodeIt : public Node { 200 200 public: … … 286 286 /// of outgoing edges of a node \c n 287 287 /// in graph \c g of type \c Graph as follows. 288 /// 288 ///\code 289 289 /// int count=0; 290 290 /// for (Graph::OutEdgeIt e(g, n); e!=INVALID; ++e) ++count; 291 /// 291 ///\endcode 292 292 293 293 class OutEdgeIt : public Edge { … … 333 333 /// of outgoing edges of a node \c n 334 334 /// in graph \c g of type \c Graph as follows. 335 /// 335 ///\code 336 336 /// int count=0; 337 337 /// for(Graph::InEdgeIt e(g, n); e!=INVALID; ++e) ++count; 338 /// 338 ///\endcode 339 339 340 340 class InEdgeIt : public Edge { … … 377 377 /// Its usage is quite simple, for example you can count the number 378 378 /// of edges in a graph \c g of type \c Graph as follows: 379 /// 379 ///\code 380 380 /// int count=0; 381 381 /// for(Graph::EdgeIt e(g); e!=INVALID; ++e) ++count; 382 /// 382 ///\endcode 383 383 class EdgeIt : public Edge { 384 384 public:
Note: See TracChangeset
for help on using the changeset viewer.