lemon/path.h
changeset 2435 548f498fa059
parent 2391 14a343be7a5a
child 2523 ceb7f3c704b7
equal deleted inserted replaced
13:b394b42647e1 14:0241c60ed149
   337     }
   337     }
   338 
   338 
   339     /// \brief  Initializes edge iterator to point to the nth edge.
   339     /// \brief  Initializes edge iterator to point to the nth edge.
   340     EdgeIt nthIt(int n) const {
   340     EdgeIt nthIt(int n) const {
   341       return EdgeIt(*this, n);
   341       return EdgeIt(*this, n);
       
   342     }
       
   343 
       
   344     /// \brief Gives back the first edge of the path.
       
   345     const Edge& front() const {
       
   346       return data.front();
   342     }
   347     }
   343 
   348 
   344     /// \brief Gives back the last edge of the path.
   349     /// \brief Gives back the last edge of the path.
   345     const Edge& back() const {
   350     const Edge& back() const {
   346       return data.back();
   351       return data.back();