Changeset 2381:0248790c66ea in lemon-0.x for lemon/ugraph_adaptor.h
- Timestamp:
- 03/01/07 17:47:23 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3212
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/ugraph_adaptor.h
r2096 r2381 152 152 typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier; 153 153 154 NodeNotifier& getNotifier(Node) const {155 return graph-> getNotifier(Node());154 NodeNotifier& notifier(Node) const { 155 return graph->notifier(Node()); 156 156 } 157 157 158 158 typedef typename ItemSetTraits<Graph, Edge>::ItemNotifier EdgeNotifier; 159 159 160 EdgeNotifier& getNotifier(Edge) const {161 return graph-> getNotifier(Edge());160 EdgeNotifier& notifier(Edge) const { 161 return graph->notifier(Edge()); 162 162 } 163 163 164 164 typedef typename ItemSetTraits<Graph, UEdge>::ItemNotifier UEdgeNotifier; 165 165 166 UEdgeNotifier& getNotifier(UEdge) const {167 return graph-> getNotifier(UEdge());166 UEdgeNotifier& notifier(UEdge) const { 167 return graph->notifier(UEdge()); 168 168 } 169 169 … … 312 312 Parent::firstInc(i, d, n); 313 313 while (i!=INVALID && (!(*uedge_filter_map)[i] 314 || !(*node_filter_map)[Parent::source(i)] 314 315 || !(*node_filter_map)[Parent::target(i)])) Parent::nextInc(i, d); 315 316 } … … 348 349 void nextInc(UEdge& i, bool& d) const { 349 350 Parent::nextInc(i, d); 350 while (i!=INVALID && (!(*uedge_filter_map)[i] 351 || !(*node_filter_map)[Parent::source(i)])) Parent::nextInc(i, d); 351 while (i!=INVALID && (!(*uedge_filter_map)[i] 352 || !(*node_filter_map)[Parent::source(i)] 353 || !(*node_filter_map)[Parent::target(i)])) Parent::nextInc(i, d); 352 354 } 353 355 … … 988 990 typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier; 989 991 990 NodeNotifier& getNotifier(Node) const {991 return graph-> getNotifier(Node());992 NodeNotifier& notifier(Node) const { 993 return graph->notifier(Node()); 992 994 } 993 995 994 996 typedef typename ItemSetTraits<Graph, Edge>::ItemNotifier EdgeNotifier; 995 997 996 EdgeNotifier& getNotifier(Edge) const {997 return graph-> getNotifier(Edge());998 EdgeNotifier& notifier(Edge) const { 999 return graph->notifier(Edge()); 998 1000 } 999 1001
Note: See TracChangeset
for help on using the changeset viewer.