sym-imp.cpp
Go to the documentation of this file.
int _variable
Variable index. The ViewArray that the index is meant for is assumed to be known by context.
Definition ldsb.hh:55
int _value
The value of the literal. For int and bool variables, this is the value itself; for set variables,...
Definition ldsb.hh:59
Implementation of a value sequence symmetry.
Definition ldsb.hh:266
int getVal(unsigned int sequence, unsigned int position) const
Get the value in the specified sequence at the specified position. (Both are zero-based....
Definition sym-imp.hpp:287
Support::BitSetOffset< Space > values
Definition ldsb.hh:207
Implementation of a variable sequence symmetry.
Definition ldsb.hh:224
int getVal(unsigned int sequence, unsigned int position) const
Get the value in the specified sequence at the specified position. (Both are zero-based....
Definition sym-imp.hpp:174
Value iterator for values in an offset bitset.
Definition values-bitsetoffset.hpp:45
unsigned int lubSize(void) const
Return the number of elements in the least upper bound.
Definition set.hpp:66
int lubMinN(unsigned int n) const
Return n-th smallest element of the least upper bound.
Definition set.hpp:98
Stack with arbitrary number of elements.
Definition dynamic-stack.hpp:42
std::pair< int, int > findVar(int *indices, unsigned int n_values, unsigned int seq_size, int index)
Find the location of an integer in a collection of sequences.
Definition ldsb.cpp:42
ArgArray< T > dynamicStackToArgArray(const Support::DynamicStack< T, A > &s)
Convert a DynamicStack<T,A> into an ArgArray<T>.
Definition sym-imp.hpp:39
bool equalLUB(const Set::SetView &x, const Set::SetView &y)
Do two set variables have equal least-upper-bounds?
Definition sym-imp.cpp:41
Gecode toplevel namespace
