Generated on Fri Mar 20 15:56:47 2015 for Gecode by doxygen 1.6.3

Gecode::PosChoice Class Reference
[Generic brancher based on view selection]

Choices storing position More...

#include <brancher-view.hpp>

List of all members.

Public Member Functions

 PosChoice (const Brancher &b, unsigned int a, const Pos &p)
 Initialize choice for brancher b, number of alternatives a, and position p.
const Pospos (void) const
 Return position in array.
virtual size_t size (void) const
 Report size occupied.
virtual void archive (Archive &e) const
 Archive into e.

Detailed Description

Choices storing position

Definition at line 57 of file brancher-view.hpp.


Constructor & Destructor Documentation

Gecode::PosChoice::PosChoice ( const Brancher b,
unsigned int  a,
const Pos p 
) [inline]

Initialize choice for brancher b, number of alternatives a, and position p.

Definition at line 122 of file brancher-view.hpp.


Member Function Documentation

const Pos & Gecode::PosChoice::pos ( void   )  const [inline]

Return position in array.

Definition at line 125 of file brancher-view.hpp.

size_t Gecode::PosChoice::size ( void   )  const [inline, virtual]

Report size occupied.

Implements Gecode::Choice.

Reimplemented in Gecode::Int::Branch::PosValuesChoice, Gecode::Int::LDSB::LDSBChoice< Val >, and Gecode::PosValChoice< Val >.

Definition at line 129 of file brancher-view.hpp.

void Gecode::PosChoice::archive ( Archive e  )  const [inline, virtual]

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