Generated on Thu Jul 6 07:07:01 2006 for Gecode by doxygen 1.4.7

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

List of all members.

Detailed Description

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

Combine view with information for value propagation.

Definition at line 35 of file val.icc.

Public Member Functions

void init (View x, int n)
 Initialize.
void update (Space *home, bool share, ValInfo< View > &vi)
 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 ValInfo< View > * allocate (Space *home, int n)
 Allocate memory from space home for n elements.

Public Attributes

View view
 The view.
bool a
 Whether it has been propagated that view is assigned.


Member Function Documentation

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

Allocate memory from space home for n elements.

Definition at line 61 of file val.icc.

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

Initialize.

Definition at line 68 of file val.icc.

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

Update during cloning.

Definition at line 74 of file val.icc.

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

Check whether propagation for assignment is to be done.

Definition at line 80 of file val.icc.

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

Check whether propagation for domain is to be done.

Definition at line 86 of file val.icc.

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

Record that view got assigned.

Definition at line 92 of file val.icc.

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

Record that one value got removed.

Definition at line 98 of file val.icc.

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

Update the cardinality and bounds information after pruning.

Definition at line 102 of file val.icc.


Member Data Documentation

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

The view.

Definition at line 38 of file val.icc.

template<class View>
bool Gecode::Int::Channel::ValInfo< View >::a

Whether it has been propagated that view is assigned.

Definition at line 40 of file val.icc.


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