lemon/bits/edge_set_extender.h
changeset 2386 81b47fc5c444
parent 2384 805c5a2a36dd
child 2391 14a343be7a5a
equal deleted inserted replaced
6:44dc137796db 7:a05543551fbb
   187 
   187 
   188     /// \brief Base node of the iterator
   188     /// \brief Base node of the iterator
   189     ///
   189     ///
   190     /// Returns the base node (ie. the source in this case) of the iterator
   190     /// Returns the base node (ie. the source in this case) of the iterator
   191     Node baseNode(const OutEdgeIt &e) const {
   191     Node baseNode(const OutEdgeIt &e) const {
   192       return Parent::source((Edge)e);
   192       return Parent::source(static_cast<const Edge&>(e));
   193     }
   193     }
   194     /// \brief Running node of the iterator
   194     /// \brief Running node of the iterator
   195     ///
   195     ///
   196     /// Returns the running node (ie. the target in this case) of the
   196     /// Returns the running node (ie. the target in this case) of the
   197     /// iterator
   197     /// iterator
   198     Node runningNode(const OutEdgeIt &e) const {
   198     Node runningNode(const OutEdgeIt &e) const {
   199       return Parent::target((Edge)e);
   199       return Parent::target(static_cast<const Edge&>(e));
   200     }
   200     }
   201 
   201 
   202     /// \brief Base node of the iterator
   202     /// \brief Base node of the iterator
   203     ///
   203     ///
   204     /// Returns the base node (ie. the target in this case) of the iterator
   204     /// Returns the base node (ie. the target in this case) of the iterator
   205     Node baseNode(const InEdgeIt &e) const {
   205     Node baseNode(const InEdgeIt &e) const {
   206       return Parent::target((Edge)e);
   206       return Parent::target(static_cast<const Edge&>(e));
   207     }
   207     }
   208     /// \brief Running node of the iterator
   208     /// \brief Running node of the iterator
   209     ///
   209     ///
   210     /// Returns the running node (ie. the source in this case) of the
   210     /// Returns the running node (ie. the source in this case) of the
   211     /// iterator
   211     /// iterator
   212     Node runningNode(const InEdgeIt &e) const {
   212     Node runningNode(const InEdgeIt &e) const {
   213       return Parent::source((Edge)e);
   213       return Parent::source(static_cast<const Edge&>(e));
   214     }
   214     }
   215 
   215 
   216     using Parent::first;
   216     using Parent::first;
   217 
   217 
   218     // Mappable extension
   218     // Mappable extension
   494 
   494 
   495     /// \brief Base node of the iterator
   495     /// \brief Base node of the iterator
   496     ///
   496     ///
   497     /// Returns the base node (ie. the source in this case) of the iterator
   497     /// Returns the base node (ie. the source in this case) of the iterator
   498     Node baseNode(const OutEdgeIt &e) const {
   498     Node baseNode(const OutEdgeIt &e) const {
   499       return Parent::source((Edge)e);
   499       return Parent::source(static_cast<const Edge&>(e));
   500     }
   500     }
   501     /// \brief Running node of the iterator
   501     /// \brief Running node of the iterator
   502     ///
   502     ///
   503     /// Returns the running node (ie. the target in this case) of the
   503     /// Returns the running node (ie. the target in this case) of the
   504     /// iterator
   504     /// iterator
   505     Node runningNode(const OutEdgeIt &e) const {
   505     Node runningNode(const OutEdgeIt &e) const {
   506       return Parent::target((Edge)e);
   506       return Parent::target(static_cast<const Edge&>(e));
   507     }
   507     }
   508 
   508 
   509     /// \brief Base node of the iterator
   509     /// \brief Base node of the iterator
   510     ///
   510     ///
   511     /// Returns the base node (ie. the target in this case) of the iterator
   511     /// Returns the base node (ie. the target in this case) of the iterator
   512     Node baseNode(const InEdgeIt &e) const {
   512     Node baseNode(const InEdgeIt &e) const {
   513       return Parent::target((Edge)e);
   513       return Parent::target(static_cast<const Edge&>(e));
   514     }
   514     }
   515     /// \brief Running node of the iterator
   515     /// \brief Running node of the iterator
   516     ///
   516     ///
   517     /// Returns the running node (ie. the source in this case) of the
   517     /// Returns the running node (ie. the source in this case) of the
   518     /// iterator
   518     /// iterator
   519     Node runningNode(const InEdgeIt &e) const {
   519     Node runningNode(const InEdgeIt &e) const {
   520       return Parent::source((Edge)e);
   520       return Parent::source(static_cast<const Edge&>(e));
   521     }
   521     }
   522 
   522 
   523     /// Base node of the iterator
   523     /// Base node of the iterator
   524     ///
   524     ///
   525     /// Returns the base node of the iterator
   525     /// Returns the base node of the iterator