Changeset 1946:17eb3eaad9f8 in lemon-0.x for lemon/concept/bpugraph.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/bpugraph.h
r1933 r1946 245 245 /// Its usage is quite simple, for example you can count the number 246 246 /// of nodes in graph \c g of type \c Graph like this: 247 /// 247 ///\code 248 248 /// int count=0; 249 249 /// for (Graph::NodeIt n(g); n!=INVALID; ++n) ++count; 250 /// 250 ///\endcode 251 251 class NodeIt : public Node { 252 252 public: … … 290 290 /// Its usage is quite simple, for example you can count the number 291 291 /// of nodes in graph \c g of type \c Graph like this: 292 /// 292 ///\code 293 293 /// int count=0; 294 294 /// for (Graph::ANodeIt n(g); n!=INVALID; ++n) ++count; 295 /// 295 ///\endcode 296 296 class ANodeIt : public ANode { 297 297 public: … … 335 335 /// Its usage is quite simple, for example you can count the number 336 336 /// of nodes in graph \c g of type \c Graph like this: 337 /// 337 ///\code 338 338 /// int count=0; 339 339 /// for (Graph::BNodeIt n(g); n!=INVALID; ++n) ++count; 340 /// 340 ///\endcode 341 341 class BNodeIt : public BNode { 342 342 public: … … 426 426 /// Its usage is quite simple, for example you can count the number 427 427 /// of undirected edges in a graph \c g of type \c Graph as follows: 428 /// 428 ///\code 429 429 /// int count=0; 430 430 /// for(Graph::UEdgeIt e(g); e!=INVALID; ++e) ++count; 431 /// 431 ///\endcode 432 432 class UEdgeIt : public UEdge { 433 433 public: … … 474 474 /// of incident edges of a node \c n 475 475 /// in graph \c g of type \c Graph as follows. 476 /// 476 ///\code 477 477 /// int count=0; 478 478 /// for(Graph::IncEdgeIt e(g, n); e!=INVALID; ++e) ++count; 479 /// 479 ///\endcode 480 480 class IncEdgeIt : public UEdge { 481 481 public: … … 563 563 /// Its usage is quite simple, for example you can count the number 564 564 /// of edges in a graph \c g of type \c Graph as follows: 565 /// 565 ///\code 566 566 /// int count=0; 567 567 /// for(Graph::EdgeIt e(g); e!=INVALID; ++e) ++count; 568 /// 568 ///\endcode 569 569 class EdgeIt : public Edge { 570 570 public: … … 608 608 /// of outgoing edges of a node \c n 609 609 /// in graph \c g of type \c Graph as follows. 610 /// 610 ///\code 611 611 /// int count=0; 612 612 /// for (Graph::OutEdgeIt e(g, n); e!=INVALID; ++e) ++count; 613 /// 613 ///\endcode 614 614 615 615 class OutEdgeIt : public Edge { … … 660 660 /// of outgoing edges of a node \c n 661 661 /// in graph \c g of type \c Graph as follows. 662 /// 662 ///\code 663 663 /// int count=0; 664 664 /// for(Graph::InEdgeIt e(g, n); e!=INVALID; ++e) ++count; 665 /// 665 ///\endcode 666 666 667 667 class InEdgeIt : public Edge {
Note: See TracChangeset
for help on using the changeset viewer.