Changeset 2207:75a29ac69c19 in lemon0.x for lemon/grid_ugraph.h
 Timestamp:
 09/07/06 15:27:16 (13 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2933
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/grid_ugraph.h
r2151 r2207 27 27 #include <lemon/bits/graph_extender.h> 28 28 29 #include <lemon/ xy.h>29 #include <lemon/dim2.h> 30 30 31 31 ///\ingroup graphs … … 382 382 typedef ExtendedGridUGraphBase Parent; 383 383 384 /// \brief Map to get the indices of the nodes as xy<int>.385 /// 386 /// Map to get the indices of the nodes as xy<int>.384 /// \brief Map to get the indices of the nodes as dim2::Point<int>. 385 /// 386 /// Map to get the indices of the nodes as dim2::Point<int>. 387 387 class IndexMap { 388 388 public: … … 390 390 typedef GridUGraph::Node Key; 391 391 /// \brief The value type of the map 392 typedef xy<int> Value;392 typedef dim2::Point<int> Value; 393 393 394 394 /// \brief Constructor … … 401 401 /// The subscript operator. 402 402 Value operator[](Key key) const { 403 return xy<int>(graph.row(key), graph.col(key));403 return dim2::Point<int>(graph.row(key), graph.col(key)); 404 404 } 405 405
Note: See TracChangeset
for help on using the changeset viewer.