Changeset 818:2b687ca1a08b in lemon0.x
 Timestamp:
 09/08/04 13:48:24 (16 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1114
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/hugo/skeletons/path.h
r807 r818 1 #define SKELETON 1 2 // * c++ * // 2 3 … … 29 30 30 31 /// Type of the underlying graph. 31 typedef typenameGR Graph;32 typedef /*typename*/ GR Graph; 32 33 /// Edge type of the underlying graph. 33 34 typedef typename Graph::Edge GraphEdge; 34 35 /// Node type of the underlying graph. 35 36 typedef typename Graph::Node GraphNode; 36 37 class NodeIt; 37 38 class EdgeIt; … … 42 43 43 44 /// Length of the path. 44 size_t length() const { }45 size_t length() const {return 0;} 45 46 /// Returns whether the path is empty. 46 47 bool empty() const {} … … 53 54 /// Starting point of the path. 54 55 /// Returns INVALID if the path is empty. 55 NodeIt head() const {}56 GraphNode/*It*/ head() const {return INVALID;} 56 57 /// \brief End point of the path. 57 58 /// 58 59 /// End point of the path. 59 60 /// Returns INVALID if the path is empty. 60 NodeIt tail() const {}61 GraphNode/*It*/ tail() const {return INVALID;} 61 62 62 63 /// \brief First NodeIt/EdgeIt. … … 166 167 class Builder { 167 168 public: 169 170 Path &P; 171 168 172 ///\param _P the path you want to fill in. 169 173 ///
Note: See TracChangeset
for help on using the changeset viewer.