Range approximation of which positions have changed. More...
#include <gecode/int/extensional.hh>
Public Member Functions | |
| IndexRange (void) | |
| Initialize range as empty. | |
| void | reset (void) |
| Reset range to be empty. | |
| void | add (int i) |
| Add index i to range. | |
| void | add (const IndexRange &ir) |
| Add index range ir to range. | |
| void | lshift (int n) |
| Shift index range by n elements to the left. | |
| bool | empty (void) const |
| Test whether range is empty. | |
| int | fst (void) const |
| Return first position. | |
| int | lst (void) const |
| Return last position. | |
Detailed Description
class Gecode::Int::Extensional::LayeredGraph< View, Val, Degree, StateIdx >::IndexRange
Range approximation of which positions have changed.
Definition at line 152 of file extensional.hh.
Constructor & Destructor Documentation
◆ IndexRange()
|
inline |
Initialize range as empty.
Definition at line 177 of file layered-graph.hpp.
Member Function Documentation
◆ reset()
|
inline |
Reset range to be empty.
Definition at line 181 of file layered-graph.hpp.
◆ add() [1/2]
|
inline |
Add index i to range.
Definition at line 186 of file layered-graph.hpp.
◆ add() [2/2]
| void Gecode::Int::Extensional::LayeredGraph< View, Val, Degree, StateIdx >::IndexRange::add | ( | const IndexRange & | ir | ) |
Add index range ir to range.
◆ lshift()
|
inline |
Shift index range by n elements to the left.
Definition at line 202 of file layered-graph.hpp.
◆ empty()
|
inline |
Test whether range is empty.
Definition at line 197 of file layered-graph.hpp.
◆ fst()
|
inline |
Return first position.
Definition at line 214 of file layered-graph.hpp.
◆ lst()
|
inline |
Return last position.
Definition at line 219 of file layered-graph.hpp.
The documentation for this class was generated from the following files:
- gecode/int/extensional.hh
- gecode/int/extensional/layered-graph.hpp
