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 void | archive (Archive &e) const |
| | Archive into e.
|
| virtual | ~Choice (void) |
| | Destructor.
|
| unsigned int | alternatives (void) const |
| | Return number of alternatives.
|
Public Attributes |
| int | item |
| | Item.
|
| int * | same |
| | Bins with same slack.
|
| int | n_same |
| | Number of bins with same slack.
|
Additional Inherited Members |
| static void * | operator new (size_t) |
| | Allocate memory from heap.
|
| static void | operator delete (void *) |
| | Return memory to heap.
|
| | Choice (const Brancher &b, const unsigned int a) |
| | Initialize for particular brancher b and alternatives a.
|
Detailed Description
Choice
Definition at line 200 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 211 of file bin-packing.cpp.
| virtual CDBF::Choice::~Choice |
( |
void |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual size_t CDBF::Choice::size |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual void CDBF::Choice::archive |
( |
Archive & |
e | ) |
const |
|
inlinevirtual |
Member Data Documentation
The documentation for this class was generated from the following file: