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
Value iterator for values in an offset bitset.
Definition values-bitsetoffset.hpp:45
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
Gecode toplevel namespace
