Generated on Sat Feb 7 2015 02:01:38 for Gecode by doxygen 1.8.9.1
SteelMill::SteelMillBranch::Choice Class Reference

Choice More...

Public Member Functions

 Choice (const Brancher &b, unsigned int a, int pos0, int val0)
 
virtual size_t size (void) const
 Report size occupied. More...
 
virtual void archive (Archive &e) const
 Archive into e. More...
 
- Public Member Functions inherited from Gecode::Choice
unsigned int alternatives (void) const
 Return number of alternatives. More...
 
virtual ~Choice (void)
 Destructor. More...
 

Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Choice
static void * operator new (size_t)
 Allocate memory from heap. More...
 
static void operator delete (void *)
 Return memory to heap. More...
 
- Protected Member Functions inherited from Gecode::Choice
 Choice (const Brancher &b, const unsigned int a)
 Initialize for particular brancher b and alternatives a. More...
 

Detailed Description

Choice

Definition at line 359 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 368 of file steel-mill.cpp.

Member Function Documentation

virtual size_t SteelMill::SteelMillBranch::Choice::size ( void  ) const
inlinevirtual

Report size occupied.

Implements Gecode::Choice.

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

virtual void SteelMill::SteelMillBranch::Choice::archive ( Archive e) const
inlinevirtual

Archive into e.

Reimplemented from Gecode::Choice.

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

Member Data Documentation

int SteelMill::SteelMillBranch::Choice::pos

Position of variable.

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

int SteelMill::SteelMillBranch::Choice::val

Value of variable.

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


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