Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Channel::DomInfo< View > Class Template Reference

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Channel::DomInfo< View >

Combine view with information for domain propagation.

Definition at line 49 of file dom.icc.


Public Member Functions

void init (View x, int n)
 Initialize.
void update (Space *home, bool share, DomInfo< View > &vcb)
 Update during cloning.
bool doval (void) const
 Check whether propagation for assignment is to be done.
bool dodom (void) const
 Check whether propagation for domain is to be done.
void assigned (void)
 Record that view got assigned.
void removed (int i)
 Record that one value got removed.
void done (void)
 Update the cardinality and bounds information after pruning.

Static Public Member Functions

static DomInfo< View > * allocate (Space *home, int n)
 Allocate memory from space home for n elements.

Public Attributes

View view
unsigned int card
int min
int max

Member Function Documentation

template<class View>
DomInfo< View > * Gecode::Int::Channel::DomInfo< View >::allocate ( Space home,
int  n 
) [inline, static]

Allocate memory from space home for n elements.

Definition at line 75 of file dom.icc.

template<class View>
void Gecode::Int::Channel::DomInfo< View >::init ( View  x,
int  n 
) [inline]

Initialize.

Definition at line 82 of file dom.icc.

template<class View>
void Gecode::Int::Channel::DomInfo< View >::update ( Space home,
bool  share,
DomInfo< View > &  vcb 
) [inline]

Update during cloning.

Definition at line 91 of file dom.icc.

template<class View>
bool Gecode::Int::Channel::DomInfo< View >::doval ( void   )  const [inline]

Check whether propagation for assignment is to be done.

Definition at line 100 of file dom.icc.

template<class View>
bool Gecode::Int::Channel::DomInfo< View >::dodom ( void   )  const [inline]

Check whether propagation for domain is to be done.

Definition at line 106 of file dom.icc.

template<class View>
void Gecode::Int::Channel::DomInfo< View >::assigned ( void   )  [inline]

Record that view got assigned.

Definition at line 112 of file dom.icc.

template<class View>
void Gecode::Int::Channel::DomInfo< View >::removed ( int  i  )  [inline]

Record that one value got removed.

Definition at line 118 of file dom.icc.

template<class View>
void Gecode::Int::Channel::DomInfo< View >::done ( void   )  [inline]

Update the cardinality and bounds information after pruning.

Definition at line 128 of file dom.icc.


Member Data Documentation

template<class View>
View Gecode::Int::Channel::DomInfo< View >::view

Definition at line 51 of file dom.icc.

template<class View>
unsigned int Gecode::Int::Channel::DomInfo< View >::card

Definition at line 52 of file dom.icc.

template<class View>
int Gecode::Int::Channel::DomInfo< View >::min

Definition at line 53 of file dom.icc.

template<class View>
int Gecode::Int::Channel::DomInfo< View >::max

Definition at line 54 of file dom.icc.


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