Gecode::Set::Int Namespace Reference
Propagators connecting set and int variables. More...
Classes | |
class | OverweightValues |
Value Iterator for values above a certain weight. More... | |
class | IntLess |
Sort order for integers. More... | |
class | MinElement |
Propagator for minimum element More... | |
class | NotMinElement |
Propagator for not minimum element More... | |
class | ReMinElement |
Propagator for reified minimum element More... | |
class | MaxElement |
Propagator for maximum element More... | |
class | NotMaxElement |
Propagator for not maximum element More... | |
class | ReMaxElement |
Reified propagator for maximum element More... | |
class | Card |
Propagator for cardinality More... | |
class | Match |
Propagator for the match constraint More... | |
class | ChannelInt |
Propagator for channelling between variable-value-dual models More... | |
class | ChannelBool |
Propagator for channelling between set variable and its characteristic function More... | |
class | Weights |
Propagator for weight of a set More... | |
Functions | |
template<class I > | |
int | weightI (SharedArray< int > &elements, SharedArray< int > &weights, I &iter) |
Compute the weight of the elements in the iterator I. |
Detailed Description
Propagators connecting set and int variables.
Function Documentation
template<class I >
int Gecode::Set::Int::weightI | ( | SharedArray< int > & | elements, | |
SharedArray< int > & | weights, | |||
I & | iter | |||
) | [inline] |
Compute the weight of the elements in the iterator I.
Definition at line 216 of file weights.hpp.