Changeset 1990:15fb7a4ea6be in lemon-0.x for lemon/edge_set.h
- Timestamp:
- 03/01/06 11:17:25 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2592
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/edge_set.h
r1979 r1990 21 21 22 22 23 #include <lemon/bits/default_map.h> 23 24 #include <lemon/bits/edge_set_extender.h> 24 25 … … 46 47 }; 47 48 48 typedef typename Graph::template NodeMap<NodeT> NodesImplBase;49 typedef DefaultMap<Graph, Node, NodeT> NodesImplBase; 49 50 50 51 NodesImplBase* nodes; … … 197 198 Node target(const Edge& edge) const { return edges[edge.id].target;} 198 199 200 typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier; 201 202 NodeNotifier& getNotifier(Node) const { 203 return graph->getNotifier(Node()); 204 } 205 199 206 template <typename _Value> 200 207 class NodeMap : public Graph::template NodeMap<_Value> { … … 405 412 }; 406 413 407 typedef typename Graph::template NodeMap<NodeT> NodesImplBase;414 typedef DefaultMap<Graph, Node, NodeT> NodesImplBase; 408 415 409 416 NodesImplBase* nodes; … … 506 513 Node target(const Edge& edge) const { return edges[edge.id].target;} 507 514 515 typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier; 516 517 NodeNotifier& getNotifier(Node) const { 518 return graph->getNotifier(Node()); 519 } 520 508 521 template <typename _Value> 509 522 class NodeMap : public Graph::template NodeMap<_Value> {
Note: See TracChangeset
for help on using the changeset viewer.