Implementation of a value symmetry. More...
#include <ldsb.hh>
Public Member Functions | |
ValueSymmetryImp (Space &home, int *vs, unsigned int n) | |
Constructor for creation. More... | |
ValueSymmetryImp (Space &home, const ValueSymmetryImp< View > &other) | |
Copy constructor. More... | |
virtual size_t | dispose (Space &home) |
Disposal. More... | |
void | update (Literal) |
Left-branch update. More... | |
virtual ArgArray< Literal > | symmetric (Literal, const ViewArray< View > &) const |
Compute symmetric literals. More... | |
SymmetryImp< View > * | copy (Space &home, bool share) const |
Copy function. More... | |
template<> | |
ArgArray< Literal > | symmetric (Literal l, const ViewArray< IntView > &x) const |
template<> | |
ArgArray< Literal > | symmetric (Literal l, const ViewArray< BoolView > &x) const |
template<> | |
ArgArray< Literal > | symmetric (Literal l, const ViewArray< Set::SetView > &x) const |
Public Attributes | |
Support::BitSetOffset< Space > | values |
Symmetric values. More... | |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Placement new operator. More... | |
static void | operator delete (void *, Space &) |
Return memory to space. More... | |
static void | operator delete (void *) |
Needed for exceptions. More... | |
Implementation of a value symmetry.
Gecode::Int::LDSB::ValueSymmetryImp< View >::ValueSymmetryImp | ( | Space & | home, |
int * | vs, | ||
unsigned int | n | ||
) |
Constructor for creation.
Definition at line 125 of file sym-imp.hpp.
Gecode::Int::LDSB::ValueSymmetryImp< View >::ValueSymmetryImp | ( | Space & | home, |
const ValueSymmetryImp< View > & | other | ||
) |
Copy constructor.
Definition at line 147 of file sym-imp.hpp.
|
virtual |
Disposal.
Implements Gecode::Int::LDSB::SymmetryImp< View >.
Definition at line 153 of file sym-imp.hpp.
|
virtual |
Left-branch update.
Implements Gecode::Int::LDSB::SymmetryImp< View >.
Definition at line 161 of file sym-imp.hpp.
|
virtual |
Compute symmetric literals.
Implements Gecode::Int::LDSB::SymmetryImp< View >.
|
virtual |
Copy function.
Implements Gecode::Int::LDSB::SymmetryImp< View >.
Definition at line 169 of file sym-imp.hpp.
ArgArray< Literal > Gecode::Int::LDSB::ValueSymmetryImp< IntView >::symmetric | ( | Literal | l, |
const ViewArray< IntView > & | x | ||
) | const |
Definition at line 85 of file sym-imp.cpp.
ArgArray< Literal > Gecode::Int::LDSB::ValueSymmetryImp< BoolView >::symmetric | ( | Literal | l, |
const ViewArray< BoolView > & | x | ||
) | const |
Definition at line 104 of file sym-imp.cpp.
ArgArray< Literal > Gecode::Int::LDSB::ValueSymmetryImp< Set::SetView >::symmetric | ( | Literal | l, |
const ViewArray< Set::SetView > & | x | ||
) | const |
Definition at line 81 of file sym-imp.cpp.
Support::BitSetOffset<Space> Gecode::Int::LDSB::ValueSymmetryImp< View >::values |