Choice More...
Public Member Functions | |
Choice (const Brancher &b, unsigned int a, int i, int *s, int n_s) | |
virtual size_t | size (void) const |
Report size occupied. | |
virtual | ~Choice (void) |
Destructor. | |
Public Attributes | |
int | item |
Item. | |
int * | same |
Bins with same slack. | |
int | n_same |
Number of bins with same slack. |
Choice
Definition at line 200 of file bin-packing.cpp.
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 211 of file bin-packing.cpp.
virtual CDBF::Choice::~Choice | ( | void | ) | [inline, virtual] |
virtual size_t CDBF::Choice::size | ( | void | ) | const [inline, virtual] |
Item.
Definition at line 203 of file bin-packing.cpp.
int* CDBF::Choice::same |
Bins with same slack.
Definition at line 205 of file bin-packing.cpp.
Number of bins with same slack.
Definition at line 207 of file bin-packing.cpp.