
Array of scale Boolean views. More...
#include <linear.hh>
Public Member Functions | |
| ScaleBoolArray (void) | |
| Default constructor. | |
| ScaleBoolArray (Space &home, int n) | |
| Create array with n elements. | |
| void | subscribe (Space &home, Propagator &p) |
| Subscribe propagator p. | |
| void | cancel (Space &home, Propagator &p) |
| Cancel propagator p. | |
| void | reschedule (Space &home, Propagator &p) |
| Schedule propagator p. | |
| void | update (Space &home, ScaleBoolArray &sba) |
| Update sba during copying. | |
| ScaleBool * | fst (void) const |
| Return pointer to first element. | |
| ScaleBool * | lst (void) const |
| Return pointer after last element. | |
| void | fst (ScaleBool *f) |
| Set pointer to first element. | |
| void | lst (ScaleBool *l) |
| Set pointer after last element. | |
| bool | empty (void) const |
| Test whether array is empty. | |
| int | size (void) const |
| Return number of elements. | |
| void | sort (void) |
| Sort array in decreasing order of coefficients. | |
|
inline |
Default constructor.
Definition at line 41 of file bool-scale.hpp.
|
inline |
Create array with n elements.
Definition at line 43 of file bool-scale.hpp.
|
inline |
Subscribe propagator p.
Definition at line 52 of file bool-scale.hpp.
|
inline |
Cancel propagator p.
Definition at line 57 of file bool-scale.hpp.
|
inline |
Schedule propagator p.
Definition at line 62 of file bool-scale.hpp.
|
inline |
Update sba during copying.
Definition at line 67 of file bool-scale.hpp.
|
inline |
Return pointer to first element.
Definition at line 81 of file bool-scale.hpp.
|
inline |
Return pointer after last element.
Definition at line 85 of file bool-scale.hpp.
|
inline |
Set pointer to first element.
Definition at line 89 of file bool-scale.hpp.
|
inline |
Set pointer after last element.
Definition at line 93 of file bool-scale.hpp.
|
inline |
Test whether array is empty.
Definition at line 97 of file bool-scale.hpp.
|
inline |
Return number of elements.
Definition at line 101 of file bool-scale.hpp.
|
inline |
Sort array in decreasing order of coefficients.
Definition at line 111 of file bool-scale.hpp.