bin-packing.cpp
Go to the documentation of this file.
FloatNum size(void) const
Return size of float value (distance between maximum and minimum).
Definition val.hpp:78
Exception: Arguments contain same variable multiply
Definition exception.hpp:80
Exception: Arguments are of different size
Definition exception.hpp:73
Graph containing conflict information.
Definition bin-packing.hh:230
void edge(int i, int j, bool add=true)
Add or remove an edge between nodes i and j (i must be less than j).
Definition conflict-graph.hpp:156
static ExecStatus post(Home home, ViewArray< OffsetView > &l, ViewArray< Item > &bs, IntPropLevel ipl=IPL_DEF)
Post propagator for loads l and items bs.
Definition propagate.cpp:381
Class to set group information when a post function is executed.
Definition core.hpp:957
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
Definition macros.hpp:103
void binpacking(Home home, const IntVarArgs &l, const IntVarArgs &b, const IntArgs &s, IntPropLevel ipl=IPL_DEF)
Post propagator for bin packing.
Definition bin-packing.cpp:41
void nonnegative(int n, const char *l)
Check whether n is in range and nonnegative, otherwise throw out of limits with information l.
Definition limits.hpp:68
Gecode toplevel namespace
