equal
deleted
inserted
replaced
124 |
124 |
125 /// \brief The node on the given position. |
125 /// \brief The node on the given position. |
126 /// |
126 /// |
127 /// Gives back the node on the given position. |
127 /// Gives back the node on the given position. |
128 Node operator()(int i, int j) const { |
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 return Node(i + j * _width); |
131 return Node(i + j * _width); |
131 } |
132 } |
132 |
133 |
133 /// \brief Gives back the row index of the node. |
134 /// \brief Gives back the row index of the node. |
134 /// |
135 /// |