Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/grid_ugraph.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/grid_ugraph.h
r2384 r2386 50 50 protected: 51 51 52 void construct(int w idth, int height) {53 _height = h eight; _width = width;54 _nodeNum = h eight * width; _edgeNum = 2 * _nodeNum - width - height;55 _edgeLimit = _nodeNum - w idth;52 void construct(int w, int h) { 53 _height = h; _width = w; 54 _nodeNum = h * w; _edgeNum = 2 * _nodeNum - w - h; 55 _edgeLimit = _nodeNum - w; 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.