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. |
Combine view with information for value propagation.
void Gecode::Int::Channel::ValInfo::init | ( | View | x, |
int | n | ||
) | [inline] |
bool Gecode::Int::Channel::ValInfo::doval | ( | void | ) | const [inline] |
bool Gecode::Int::Channel::ValInfo::dodom | ( | void | ) | const [inline] |
void Gecode::Int::Channel::ValInfo::assigned | ( | void | ) | [inline] |
void Gecode::Int::Channel::ValInfo::removed | ( | int | i | ) | [inline] |
void Gecode::Int::Channel::ValInfo::done | ( | void | ) | [inline] |