lemon/edge_set.h
changeset 2384 805c5a2a36dd
parent 2260 4274224f8a7d
child 2386 81b47fc5c444
equal deleted inserted replaced
19:011514562484 20:41b714bacca7
   197     Node source(const Edge& edge) const { return edges[edge.id].source;}
   197     Node source(const Edge& edge) const { return edges[edge.id].source;}
   198     Node target(const Edge& edge) const { return edges[edge.id].target;}
   198     Node target(const Edge& edge) const { return edges[edge.id].target;}
   199 
   199 
   200     typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
   200     typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
   201 
   201 
   202     NodeNotifier& getNotifier(Node) const {
   202     NodeNotifier& notifier(Node) const {
   203       return graph->getNotifier(Node());
   203       return graph->notifier(Node());
   204     } 
   204     } 
   205 
   205 
   206     template <typename _Value>
   206     template <typename _Value>
   207     class NodeMap : public Graph::template NodeMap<_Value> {
   207     class NodeMap : public Graph::template NodeMap<_Value> {
   208     public:
   208     public:
   525     Node source(const Edge& edge) const { return edges[edge.id].source;}
   525     Node source(const Edge& edge) const { return edges[edge.id].source;}
   526     Node target(const Edge& edge) const { return edges[edge.id].target;}
   526     Node target(const Edge& edge) const { return edges[edge.id].target;}
   527 
   527 
   528     typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
   528     typedef typename ItemSetTraits<Graph, Node>::ItemNotifier NodeNotifier;
   529 
   529 
   530     NodeNotifier& getNotifier(Node) const {
   530     NodeNotifier& notifier(Node) const {
   531       return graph->getNotifier(Node());
   531       return graph->notifier(Node());
   532     } 
   532     } 
   533 
   533 
   534     template <typename _Value>
   534     template <typename _Value>
   535     class NodeMap : public Graph::template NodeMap<_Value> {
   535     class NodeMap : public Graph::template NodeMap<_Value> {
   536     public:
   536     public: