lemon/bits/iterable_graph_extender.h
changeset 1609 f83d5d39469a
parent 1448 0274acee0e35
child 1627 3fd1ba6e9872
equal deleted inserted replaced
1:f0665a4af974 2:7c80b6b09221
   122     ///
   122     ///
   123     /// Returns the base node (ie. the source in this case) of the iterator
   123     /// Returns the base node (ie. the source in this case) of the iterator
   124     ///
   124     ///
   125     /// \todo Document in the concept!
   125     /// \todo Document in the concept!
   126     Node baseNode(const OutEdgeIt &e) const {
   126     Node baseNode(const OutEdgeIt &e) const {
   127       return source(e);
   127       return Parent::source((Edge)e);
   128     }
   128     }
   129     /// Running node of the iterator
   129     /// Running node of the iterator
   130     ///
   130     ///
   131     /// Returns the running node (ie. the target in this case) of the
   131     /// Returns the running node (ie. the target in this case) of the
   132     /// iterator
   132     /// iterator
   133     ///
   133     ///
   134     /// \todo Document in the concept!
   134     /// \todo Document in the concept!
   135     Node runningNode(const OutEdgeIt &e) const {
   135     Node runningNode(const OutEdgeIt &e) const {
   136       return target(e);
   136       return Parent::target((Edge)e);
   137     }
   137     }
   138 
   138 
   139     /// Base node of the iterator
   139     /// Base node of the iterator
   140     ///
   140     ///
   141     /// Returns the base node (ie. the target in this case) of the iterator
   141     /// Returns the base node (ie. the target in this case) of the iterator
   142     ///
   142     ///
   143     /// \todo Document in the concept!
   143     /// \todo Document in the concept!
   144     Node baseNode(const InEdgeIt &e) const {
   144     Node baseNode(const InEdgeIt &e) const {
   145       return target(e);
   145       return Parent::target((Edge)e);
   146     }
   146     }
   147     /// Running node of the iterator
   147     /// Running node of the iterator
   148     ///
   148     ///
   149     /// Returns the running node (ie. the source in this case) of the
   149     /// Returns the running node (ie. the source in this case) of the
   150     /// iterator
   150     /// iterator
   151     ///
   151     ///
   152     /// \todo Document in the concept!
   152     /// \todo Document in the concept!
   153     Node runningNode(const InEdgeIt &e) const {
   153     Node runningNode(const InEdgeIt &e) const {
   154       return source(e);
   154       return Parent::source((Edge)e);
   155     }
   155     }
   156 
   156 
   157     using Parent::first;
   157     using Parent::first;
   158 
   158 
   159   private:
   159   private: