Changeset 1986:9b56cca61e2e in lemon-0.x for lemon/grid_ugraph.h
- Timestamp:
- 02/27/06 11:36:01 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/grid_ugraph.h
r1979 r1986 127 127 /// Gives back the node on the given position. 128 128 Node operator()(int i, int j) const { 129 LEMON_ASSERT(0 <= i && i < width() && 0 <= j && j < height(), IndexError()); 129 LEMON_ASSERT(0 <= i && i < width() && 0 <= j && 130 j < height(), IndexError()); 130 131 return Node(i + j * _width); 131 132 }
Note: See TracChangeset
for help on using the changeset viewer.