
Choice More...
Public Member Functions | |
| Choice (const Brancher &b, unsigned int a, int i, int *s, int n_s) | |
| virtual void | archive (Archive &e) const |
| Archive into e. More... | |
| virtual | ~Choice (void) |
| Destructor. More... | |
Public Member Functions inherited from Gecode::Choice | |
| unsigned int | alternatives (void) const |
| Return number of alternatives. More... | |
Public Attributes | |
| int | item |
| Item. More... | |
| int * | same |
| Bins with same slack. More... | |
| int | n_same |
| Number of bins with same slack. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::HeapAllocated | |
| static void * | operator new (size_t s) |
| Memory management. More... | |
| static void | operator delete (void *p) |
| Free memory allocated from heap. More... | |
Protected Member Functions inherited from Gecode::Choice | |
| Choice (const Brancher &b, const unsigned int a) | |
| Initialize for particular brancher b and alternatives a. More... | |
Choice
Definition at line 209 of file bin-packing.cpp.
|
inline |
Initialize choice for brancher b, alternatives a, item i and same bins s.
Definition at line 220 of file bin-packing.cpp.
|
inlinevirtual |
|
inlinevirtual |
| int CDBF::Choice::item |
Item.
Definition at line 212 of file bin-packing.cpp.
| int* CDBF::Choice::same |
Bins with same slack.
Definition at line 214 of file bin-packing.cpp.
| int CDBF::Choice::n_same |
Number of bins with same slack.
Definition at line 216 of file bin-packing.cpp.