ldsb.cpp
Go to the documentation of this file.
Exception: Variable in symmetry not branched on
Definition exception.hpp:150
Implementation of a value sequence symmetry.
Definition ldsb.hh:266
Implementation of a value sequence symmetry at the modelling level.
Definition ldsb.hh:150
Implementation of a value symmetry at the modelling level.
Definition ldsb.hh:128
Implementation of a variable sequence symmetry.
Definition ldsb.hh:224
Implementation of a variable sequence symmetry at the modelling level.
Definition ldsb.hh:136
Implementation of a variable symmetry at the modelling level.
Definition ldsb.hh:116
ModEvent exclude(Space &home, int i, int j)
Restrict least upper bound to not contain all elements between and including i and j.
Definition set.hpp:156
T * alloc(long unsigned int n)
Allocate block of n objects of type T from space heap.
Definition core.hpp:2973
void branch(Home home, const FloatVarArgs &x, FloatVarBranch vars, FloatValBranch vals, FloatBranchFilter bf=nullptr, FloatVarValPrint vvp=nullptr)
Branch over x with variable selection vars and value selection vals.
Definition branch.cpp:39
std::function< bool(const Space &home, SetVar x, int i)> SetBranchFilter
Branch filter function type for set variables.
Definition set.hh:1090
ViewSel< IntView > * viewsel(Space &home, const IntVarBranch &ivb)
Return view selectors for integer views.
Definition view-sel.cpp:39
ValSelCommitBase< IntView, int > * valselcommit(Space &home, const IntValBranch &ivb)
Return value and commit for integer views.
Definition val-sel-commit.cpp:39
ModEvent prune< Set::SetView >(Space &home, Set::SetView x, int v)
Definition ldsb.cpp:60
void postldsbsetbrancher(Home home, ViewArray< View > &x, ViewSel< View > *vs[n], ValSelCommitBase< View, Val > *vsc, SymmetryImp< View > **syms, int nsyms, BranchFilter< typename View::VarType > bf, VarValPrint< typename View::VarType, Val > vvp)
Definition brancher.hpp:276
SymmetryImp< SetView > * createSetSym(Space &home, const SymmetryHandle &s, VariableMap variableMap)
Definition ldsb.cpp:74
Gecode toplevel namespace
SymmetryHandle VariableSymmetry(const IntVarArgs &x)
Variables in x are interchangeable.
Definition ldsb.cpp:62
SymmetryHandle VariableSequenceSymmetry(const IntVarArgs &x, int ss)
Variable sequences in x of size ss are interchangeable.
Definition ldsb.cpp:90
std::function< void(const Space &home, const Brancher &b, unsigned int a, SetVar x, int i, const int &n, std::ostream &o)> SetVarValPrint
Function type for printing branching alternatives for set variables.
Definition set.hh:1298
