Gecode::Int::Channel::DomInfo< View, Offset > Class Template Reference
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. |
Detailed Description
template<class View, class Offset>
class Gecode::Int::Channel::DomInfo< View, Offset >
Combine view with information for domain propagation.
Definition at line 49 of file dom.hpp.
Member Function Documentation
template<class View , class Offset >
void Gecode::Int::Channel::DomInfo< View, Offset >::init | ( | View | x, | |
int | n | |||
) | [inline] |
template<class View , class Offset >
void Gecode::Int::Channel::DomInfo< View, Offset >::update | ( | Space & | home, | |
bool | share, | |||
DomInfo< View, Offset > & | vcb | |||
) | [inline] |
template<class View , class Offset >
bool Gecode::Int::Channel::DomInfo< View, Offset >::doval | ( | void | ) | const [inline] |
template<class View , class Offset >
bool Gecode::Int::Channel::DomInfo< View, Offset >::dodom | ( | void | ) | const [inline] |
template<class View , class Offset >
void Gecode::Int::Channel::DomInfo< View, Offset >::assigned | ( | void | ) | [inline] |
template<class View , class Offset >
void Gecode::Int::Channel::DomInfo< View, Offset >::removed | ( | int | i | ) | [inline] |
template<class View , class Offset >
void Gecode::Int::Channel::DomInfo< View, Offset >::done | ( | Offset & | o | ) | [inline] |
Member Data Documentation
template<class View, class Offset>
View Gecode::Int::Channel::DomInfo< View, Offset >::view |
template<class View, class Offset>
unsigned int Gecode::Int::Channel::DomInfo< View, Offset >::size |
template<class View, class Offset>
int Gecode::Int::Channel::DomInfo< View, Offset >::min |
template<class View, class Offset>
int Gecode::Int::Channel::DomInfo< View, Offset >::max |
The documentation for this class was generated from the following file:
- gecode/int/channel/dom.hpp (Revision: 12393)