Changeset 1367:a490662291b9 in lemon-0.x for src/lemon/concept/path.h
- Timestamp:
- 04/18/05 16:59:24 (16 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/path.h
r1359 r1367 55 55 /// \param _G The graph in which the path is. 56 56 /// 57 Path(const Graph & _G) {}57 Path(const Graph &) {} 58 58 59 59 /// Length of the path. … … 87 87 /// Returns node iterator pointing to the target node of the 88 88 /// given edge iterator. 89 NodeIt target(const EdgeIt& e) const {return INVALID;}89 NodeIt target(const EdgeIt&) const {return INVALID;} 90 90 91 91 /// \brief The source of an edge. … … 93 93 /// Returns node iterator pointing to the source node of the 94 94 /// given edge iterator. 95 NodeIt source(const EdgeIt& e) const {return INVALID;}95 NodeIt source(const EdgeIt&) const {return INVALID;} 96 96 97 97 … … 113 113 EdgeIt(Invalid) {} 114 114 /// Constructor with starting point 115 EdgeIt(const Path & _p) {}115 EdgeIt(const Path &) {} 116 116 117 117 operator GraphEdge () const {} … … 121 121 122 122 /// Comparison operator 123 bool operator==(const EdgeIt& e) const {return true;}124 /// Comparison operator 125 bool operator!=(const EdgeIt& e) const {return true;}123 bool operator==(const EdgeIt&) const {return true;} 124 /// Comparison operator 125 bool operator!=(const EdgeIt&) const {return true;} 126 126 // /// Comparison operator 127 127 // /// \todo It is not clear what is the "natural" ordering. … … 145 145 NodeIt(Invalid) {} 146 146 /// Constructor with starting point 147 NodeIt(const Path & _p) {}147 NodeIt(const Path &) {} 148 148 149 149 ///Conversion to Graph::Node … … 153 153 154 154 /// Comparison operator 155 bool operator==(const NodeIt& e) const {return true;}156 /// Comparison operator 157 bool operator!=(const NodeIt& e) const {return true;}155 bool operator==(const NodeIt&) const {return true;} 156 /// Comparison operator 157 bool operator!=(const NodeIt&) const {return true;} 158 158 // /// Comparison operator 159 159 // /// \todo It is not clear what is the "natural" ordering. … … 202 202 ///If the path is empty, you \em must call \ref setStartNode() before 203 203 ///the first use of \ref pushFront(). 204 void pushFront(const GraphEdge& e) {}204 void pushFront(const GraphEdge&) {} 205 205 206 206 ///Push a new edge to the back of the path … … 209 209 ///If the path is empty, you \em must call \ref setStartNode() before 210 210 ///the first use of \ref pushBack(). 211 void pushBack(const GraphEdge& e) {}211 void pushBack(const GraphEdge&) {} 212 212 213 213 ///Commit the changes to the path. … … 219 219 ///to add to the front of the path, 220 220 ///using this function you may speed up the building. 221 void reserveFront(size_t r) {}221 void reserveFront(size_t) {} 222 222 ///Reserve (back) storage for the builder in advance. 223 223 … … 225 225 ///to add to the back of the path, 226 226 ///using this function you may speed up the building. 227 void reserveBack(size_t r) {}227 void reserveBack(size_t) {} 228 228 }; 229 229 };
Note: See TracChangeset
for help on using the changeset viewer.