Undirected graph documentation and concept refinements.
* quite a few bug fixes
* concept::UndirGraph is almost complete and looks quite good.
3 #ifndef LEMON_CLEARABLE_GRAPH_EXTENDER_H
4 #define LEMON_CLEARABLE_GRAPH_EXTENDER_H
6 #include <lemon/invalid.h>
11 template <typename _Base>
12 class ClearableGraphExtender : public _Base {
15 typedef ClearableGraphExtender Graph;
17 typedef typename Parent::Node Node;
18 typedef typename Parent::Edge Edge;
21 Parent::getObserverRegistry(Node()).clear();
22 Parent::getObserverRegistry(Edge()).clear();
28 template <typename _Base>
29 class ClearableUndirGraphExtender : public _Base {
32 typedef ClearableUndirGraphExtender Graph;
34 typedef typename Parent::Node Node;
35 typedef typename Parent::UndirEdge UndirEdge;
36 typedef typename Parent::Edge Edge;
39 Parent::getObserverRegistry(Node()).clear();
40 Parent::getObserverRegistry(UndirEdge()).clear();
41 Parent::getObserverRegistry(Edge()).clear();