Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Linear::EmptyScaleBoolArray Class Reference

Empty array of scale Boolean views. More...

#include <linear.hh>

Public Member Functions

 EmptyScaleBoolArray (void)
 Default constructor.
 EmptyScaleBoolArray (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, EmptyScaleBoolArray &esba)
 Update sba during copying.
ScaleBoolfst (void) const
 Return pointer to first element.
ScaleBoollst (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.

Detailed Description

Empty array of scale Boolean views.

Definition at line 1184 of file linear.hh.

Constructor & Destructor Documentation

◆ EmptyScaleBoolArray() [1/2]

Gecode::Int::Linear::EmptyScaleBoolArray::EmptyScaleBoolArray ( void )
inline

Default constructor.

Definition at line 122 of file bool-scale.hpp.

◆ EmptyScaleBoolArray() [2/2]

Gecode::Int::Linear::EmptyScaleBoolArray::EmptyScaleBoolArray ( Space & home,
int n )
inline

Create array with n elements.

Definition at line 124 of file bool-scale.hpp.

Member Function Documentation

◆ subscribe()

void Gecode::Int::Linear::EmptyScaleBoolArray::subscribe ( Space & home,
Propagator & p )
inline

Subscribe propagator p.

Definition at line 126 of file bool-scale.hpp.

◆ cancel()

void Gecode::Int::Linear::EmptyScaleBoolArray::cancel ( Space & home,
Propagator & p )
inline

Cancel propagator p.

Definition at line 128 of file bool-scale.hpp.

◆ reschedule()

void Gecode::Int::Linear::EmptyScaleBoolArray::reschedule ( Space & home,
Propagator & p )
inline

Schedule propagator p.

Definition at line 130 of file bool-scale.hpp.

◆ update()

void Gecode::Int::Linear::EmptyScaleBoolArray::update ( Space & home,
EmptyScaleBoolArray & esba )
inline

Update sba during copying.

Definition at line 132 of file bool-scale.hpp.

◆ fst() [1/2]

ScaleBool * Gecode::Int::Linear::EmptyScaleBoolArray::fst ( void ) const
inline

Return pointer to first element.

Definition at line 134 of file bool-scale.hpp.

◆ lst() [1/2]

ScaleBool * Gecode::Int::Linear::EmptyScaleBoolArray::lst ( void ) const
inline

Return pointer after last element.

Definition at line 136 of file bool-scale.hpp.

◆ fst() [2/2]

void Gecode::Int::Linear::EmptyScaleBoolArray::fst ( ScaleBool * f)
inline

Set pointer to first element.

Definition at line 138 of file bool-scale.hpp.

◆ lst() [2/2]

void Gecode::Int::Linear::EmptyScaleBoolArray::lst ( ScaleBool * l)
inline

Set pointer after last element.

Definition at line 140 of file bool-scale.hpp.

◆ empty()

bool Gecode::Int::Linear::EmptyScaleBoolArray::empty ( void ) const
inline

Test whether array is empty.

Definition at line 142 of file bool-scale.hpp.

◆ size()

int Gecode::Int::Linear::EmptyScaleBoolArray::size ( void ) const
inline

Return number of elements.

Definition at line 144 of file bool-scale.hpp.

◆ sort()

void Gecode::Int::Linear::EmptyScaleBoolArray::sort ( void )
inline

Sort array in decreasing order of coefficients.

Definition at line 146 of file bool-scale.hpp.


The documentation for this class was generated from the following files: