Generated on Fri Mar 20 15:56:58 2015 for Gecode by doxygen 1.6.3

Gecode::Int::BinPacking::TellCache Class Reference

Record tell information. More...

List of all members.

Public Member Functions

 TellCache (Region &region, int m)
 Initialize cache for at most m values.
void nq (int j)
 Record that view must be different from j.
void eq (int j)
 Record that view must be equal to j, return false if not possible.
ExecStatus tell (Space &home, IntView x)
 Perform tell to view x and reset cache.

Protected Attributes

int * _nq
 Values (sorted) to be pruned from view.
int _n_nq
 Number of values to be pruned.
int _eq
 Value to which view should be assigned.

Detailed Description

Record tell information.

Definition at line 58 of file propagate.cpp.


Constructor & Destructor Documentation

Gecode::Int::BinPacking::TellCache::TellCache ( Region region,
int  m 
) [inline]

Initialize cache for at most m values.

Definition at line 78 of file propagate.cpp.


Member Function Documentation

void Gecode::Int::BinPacking::TellCache::nq ( int  j  )  [inline]

Record that view must be different from j.

Definition at line 81 of file propagate.cpp.

void Gecode::Int::BinPacking::TellCache::eq ( int  j  )  [inline]

Record that view must be equal to j, return false if not possible.

Definition at line 85 of file propagate.cpp.

ExecStatus Gecode::Int::BinPacking::TellCache::tell ( Space home,
IntView  x 
)

Perform tell to view x and reset cache.

Definition at line 93 of file propagate.cpp.


Member Data Documentation

Values (sorted) to be pruned from view.

Definition at line 61 of file propagate.cpp.

Number of values to be pruned.

Definition at line 63 of file propagate.cpp.

Value to which view should be assigned.

Definition at line 65 of file propagate.cpp.


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