Generated on Thu Mar 22 10:39:51 2012 for Gecode by doxygen 1.6.3

CDBF::Choice Class Reference

Choice More...

List of all members.

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.

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 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   )  [inline, virtual]

Destructor.

Reimplemented from Gecode::Choice.

Definition at line 229 of file bin-packing.cpp.


Member Function Documentation

virtual size_t CDBF::Choice::size ( void   )  const [inline, virtual]

Report size occupied.

Implements Gecode::Choice.

Definition at line 218 of file bin-packing.cpp.

virtual void CDBF::Choice::archive ( Archive e  )  const [inline, virtual]

Archive into e.

Reimplemented from Gecode::Choice.

Definition at line 222 of file bin-packing.cpp.


Member Data Documentation

Item.

Definition at line 203 of file bin-packing.cpp.

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.


The documentation for this class was generated from the following file: