Changeset 333:e0a80761dfd9 in lemon-0.x for src/work/marci/graph_concept.h
- Timestamp:
- 04/15/04 22:19:26 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@452
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/graph_concept.h
r332 r333 365 365 }; 366 366 367 /// An empty graph class which provides a function to get the number 368 /// of its nodes. 367 /// An empty node-eraseable graph class. 368 369 /// An empty graph class which provides a function to 370 /// delete any of its nodes. 371 class NodeEraseableGraphSkeleturo : public GraphSkeleturo 372 { 373 public: 374 /// Deletes a node. 375 void erase(Node n) {} 376 }; 377 378 /// An empty edge-eraseable graph class. 379 380 /// An empty graph class which provides a function to delete any 381 /// of its edges. 382 class EdgeEraseableGraphSkeleturo : public GraphSkeleturo 383 { 384 public: 385 /// Deletes a node. 386 void erase(Edge n) {} 387 }; 388 389 /// An empty graph class which provides a function to get the number of its nodes. 369 390 370 391 /// This graph class provides a function for getting the number of its … … 374 395 /// the implementation can be circumstantial, that is why this composes a 375 396 /// separate concept. 376 class NodeCountingGraphSkeleturo 397 class NodeCountingGraphSkeleturo : public GraphSkeleturo 377 398 { 378 399 public: … … 381 402 }; 382 403 383 /// An empty graph class which provides a function to get the number of its 384 /// edges. 404 /// An empty graph class which provides a function to get the number of its edges. 385 405 386 406 /// This graph class provides a function for getting the number of its … … 390 410 /// the implementation can be circumstantial, that is why this composes a 391 411 /// separate concept. 392 class EdgeCountingGraphSkeleturo 412 class EdgeCountingGraphSkeleturo : public GraphSkeleturo 393 413 { 394 414 public:
Note: See TracChangeset
for help on using the changeset viewer.