Combine view with information for domain propagation. More...
#include <dom.hpp>
Public Member Functions | |
void | init (View x, int n) |
Initialize. | |
void | update (Space &home, bool share, DomInfo< View, Offset > &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 (Offset &o) |
Update the size and bounds information after pruning. | |
Public Attributes | |
View | view |
The view. | |
unsigned int | size |
Last propagated size. | |
int | min |
Last propagated minimum. | |
int | max |
Last propagated maximum. |
Combine view with information for domain propagation.
void Gecode::Int::Channel::DomInfo::init | ( | View | x, |
int | n | ||
) | [inline] |
bool Gecode::Int::Channel::DomInfo::doval | ( | void | ) | const [inline] |
bool Gecode::Int::Channel::DomInfo::dodom | ( | void | ) | const [inline] |
void Gecode::Int::Channel::DomInfo::assigned | ( | void | ) | [inline] |
void Gecode::Int::Channel::DomInfo::removed | ( | int | i | ) | [inline] |
void Gecode::Int::Channel::DomInfo::done | ( | Offset & | o | ) | [inline] |
unsigned int Gecode::Int::Channel::DomInfo::size |