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