
Array of scale Boolean views. More...
#include <linear.hh>
Public Member Functions | |
| ScaleBoolArray (void) | |
| Default constructor. More... | |
| ScaleBoolArray (Space &home, int n) | |
| Create array with n elements. More... | |
| void | subscribe (Space &home, Propagator &p) |
| Subscribe propagator p. More... | |
| void | cancel (Space &home, Propagator &p) |
| Cancel propagator p. More... | |
| void | update (Space &home, bool share, ScaleBoolArray &sba) |
| Update sba during copying. More... | |
| ScaleBool * | fst (void) const |
| Return pointer to first element. More... | |
| ScaleBool * | lst (void) const |
| Return pointer after last element. More... | |
| void | fst (ScaleBool *f) |
| Set pointer to first element. More... | |
| void | lst (ScaleBool *l) |
| Set pointer after last element. More... | |
| bool | empty (void) const |
| Test whether array is empty. More... | |
| int | size (void) const |
| Return number of elements. More... | |
| void | sort (void) |
| Sort array in decreasing order of coefficients. More... | |
|
inline |
Default constructor.
Definition at line 45 of file bool-scale.hpp.
|
inline |
Create array with n elements.
Definition at line 47 of file bool-scale.hpp.
|
inline |
Subscribe propagator p.
Definition at line 56 of file bool-scale.hpp.
|
inline |
Cancel propagator p.
Definition at line 61 of file bool-scale.hpp.
|
inline |
Update sba during copying.
Definition at line 66 of file bool-scale.hpp.
|
inline |
Return pointer to first element.
Definition at line 80 of file bool-scale.hpp.
|
inline |
Return pointer after last element.
Definition at line 84 of file bool-scale.hpp.
|
inline |
Set pointer to first element.
Definition at line 88 of file bool-scale.hpp.
|
inline |
Set pointer after last element.
Definition at line 92 of file bool-scale.hpp.
|
inline |
Test whether array is empty.
Definition at line 96 of file bool-scale.hpp.
|
inline |
Return number of elements.
Definition at line 100 of file bool-scale.hpp.
|
inline |
Sort array in decreasing order of coefficients.
Definition at line 110 of file bool-scale.hpp.