equal
deleted
inserted
replaced
165 template<typename NMapE> |
165 template<typename NMapE> |
166 void readNMapEdge(NMapE& map) { |
166 void readNMapEdge(NMapE& map) { |
167 for(NodeIt v(g); v!=INVALID; ++v) { |
167 for(NodeIt v(g); v!=INVALID; ++v) { |
168 UndirEdge e=map[v]; |
168 UndirEdge e=map[v]; |
169 if ( e!=INVALID ) |
169 if ( e!=INVALID ) |
170 g.source(e) == v ? _mate.set(v,g.target(e)) : _mate.set(v,g.source(e)); |
170 _mate.set(v,g.oppositeNode(v,e)); |
171 } |
171 } |
172 } |
172 } |
173 |
173 |
174 ///Writes the matching stored to an \c UndirEdge valued \c Node map. |
174 ///Writes the matching stored to an \c UndirEdge valued \c Node map. |
175 |
175 |