Changeset 788:c92296660262 in lemonmain for lemon/hypercube_graph.h
 Timestamp:
 11/18/09 14:38:02 (10 years ago)
 Branch:
 default
 Parents:
 787:c2230649a493 (diff), 786:e20173729589 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.  Phase:
 public
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

lemon/hypercube_graph.h
r786 r788 263 263 } 264 264 265 int index(Node node) const{265 static int index(Node node) { 266 266 return node._id; 267 267 } … … 295 295 /// only in the concept class. 296 296 /// 297 /// This class provides constant time counting for nodes, edges and arcs. 298 /// 297 299 /// \note The type of the indices is chosen to \c int for efficiency 298 300 /// reasons. Thus the maximum dimension of this implementation is 26 … … 357 359 /// Gives back the index of the given node. 358 360 /// The lower bits of the integer describes the node. 359 int index(Node node) const{361 static int index(Node node) { 360 362 return Parent::index(node); 361 363 } 
lemon/hypercube_graph.h
r787 r788 288 288 /// differ only on one position in the binary form. 289 289 /// This class is completely static and it needs constant memory space. 290 /// Thus you can neither add nor delete nodes or edges, however 290 /// Thus you can neither add nor delete nodes or edges, however, 291 291 /// the structure can be resized using resize(). 292 292 ///
Note: See TracChangeset
for help on using the changeset viewer.