Generated on Sat Feb 7 2015 02:01:48 for Gecode by doxygen 1.8.9.1
Gecode::Int::Linear::EmptyScaleBoolArray Class Reference

Empty array of scale Boolean views. More...

#include <linear.hh>

Public Member Functions

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

Detailed Description

Empty array of scale Boolean views.

Definition at line 1162 of file linear.hh.

Constructor & Destructor Documentation

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

Default constructor.

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

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

Create array with n elements.

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

Member Function Documentation

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

Subscribe propagator p.

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

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

Cancel propagator p.

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

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

Update sba during copying.

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

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

Return pointer to first element.

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

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

Return pointer after last element.

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

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

Set pointer to first element.

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

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

Set pointer after last element.

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

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

Test whether array is empty.

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

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

Return number of elements.

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

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

Sort array in decreasing order of coefficients.

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


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