CDBF::Choice Class Reference
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. | |
virtual | ~Choice (void) |
Destructor. | |
Public Attributes | |
int | item |
Item. | |
int * | same |
Bins with same slack. | |
int | n_same |
Number of bins with same slack. |
Detailed Description
Choice
Definition at line 209 of file bin-packing.cpp.
Constructor & Destructor Documentation
CDBF::Choice::Choice | ( | const Brancher & | b, | |
unsigned int | a, | |||
int | i, | |||
int * | s, | |||
int | n_s | |||
) | [inline] |
Initialize choice for brancher b, alternatives a, item i and same bins s.
Definition at line 220 of file bin-packing.cpp.
virtual CDBF::Choice::~Choice | ( | void | ) | [inline, virtual] |
Member Function Documentation
virtual void CDBF::Choice::archive | ( | Archive & | e | ) | const [inline, virtual] |
Member Data Documentation
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.
Number of bins with same slack.
Definition at line 216 of file bin-packing.cpp.
The documentation for this class was generated from the following file:
- examples/bin-packing.cpp