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

SteelMill::SteelMillBranch::Choice Class Reference

Choice More...

List of all members.

Public Member Functions

 Choice (const Brancher &b, unsigned int a, int pos0, int val0)
virtual size_t size (void) const
 Report size occupied.
virtual void archive (Archive &e) const
 Archive into e.

Public Attributes

int pos
 Position of variable.
int val
 Value of variable.

Detailed Description


Definition at line 324 of file steel-mill.cpp.

Constructor & Destructor Documentation

SteelMill::SteelMillBranch::Choice::Choice ( const Brancher b,
unsigned int  a,
int  pos0,
int  val0 
) [inline]

Initialize choice for brancher b, number of alternatives a, position pos0, and value val0.

Definition at line 333 of file steel-mill.cpp.

Member Function Documentation

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

Report size occupied.

Implements Gecode::Choice.

Definition at line 336 of file steel-mill.cpp.

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

Archive into e.

Reimplemented from Gecode::Choice.

Definition at line 340 of file steel-mill.cpp.

Member Data Documentation

Position of variable.

Definition at line 327 of file steel-mill.cpp.

Value of variable.

Definition at line 329 of file steel-mill.cpp.

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