Gecode::Int::Channel::ValInfo< View > Class Template Reference
Combine view with information for value propagation. More...
#include <val.hpp>
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. | |
Public Attributes | |
View | view |
The view. | |
bool | a |
Whether it has been propagated that view is assigned. |
Detailed Description
template<class View>
class Gecode::Int::Channel::ValInfo< View >
Combine view with information for value propagation.
Definition at line 49 of file val.hpp.
Member Function Documentation
template<class View >
void Gecode::Int::Channel::ValInfo< View >::init | ( | View | x, | |
int | n | |||
) | [inline] |
template<class View >
void Gecode::Int::Channel::ValInfo< View >::update | ( | Space & | home, | |
bool | share, | |||
ValInfo< View > & | vi | |||
) | [inline] |
template<class View >
bool Gecode::Int::Channel::ValInfo< View >::doval | ( | void | ) | const [inline] |
template<class View >
bool Gecode::Int::Channel::ValInfo< View >::dodom | ( | void | ) | const [inline] |
template<class View >
void Gecode::Int::Channel::ValInfo< View >::assigned | ( | void | ) | [inline] |
template<class View >
void Gecode::Int::Channel::ValInfo< View >::removed | ( | int | i | ) | [inline] |
template<class View >
void Gecode::Int::Channel::ValInfo< View >::done | ( | void | ) | [inline] |
Member Data Documentation
template<class View>
View Gecode::Int::Channel::ValInfo< View >::view |
template<class View>
bool Gecode::Int::Channel::ValInfo< View >::a |
The documentation for this class was generated from the following file:
- gecode/int/channel/val.hpp (Revision: 11858)