Generated on Sat Feb 12 2011 17:41:17 for Gecode by doxygen 1.7.3

Gecode::PosChoice< ViewSel > Class Template Reference

Choices storing position More...

#include <brancher.hpp>

List of all members.

Public Member Functions

 PosChoice (const Brancher &b, unsigned int a, const Pos &p, const typename ViewSel::Choice &viewc)
 Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc.
const Pospos (void) const
 Return position in array.
const ViewSel::Choice & viewchoice (void) const
 Return view selection choice.
virtual size_t size (void) const
 Report size occupied.

Detailed Description

template<class ViewSel>
class Gecode::PosChoice< ViewSel >

Choices storing position

Definition at line 142 of file brancher.hpp.


Constructor & Destructor Documentation

template<class ViewSel >
Gecode::PosChoice< ViewSel >::PosChoice ( const Brancher b,
unsigned int  a,
const Pos p,
const typename ViewSel::Choice &  viewc 
) [inline]

Initialize choice for brancher b, number of alternatives a, position p, view selection choice viewc.

Definition at line 200 of file brancher.hpp.


Member Function Documentation

template<class ViewSel >
const Pos & Gecode::PosChoice< ViewSel >::pos ( void  ) const [inline]

Return position in array.

Definition at line 206 of file brancher.hpp.

template<class ViewSel >
const ViewSel::Choice & Gecode::PosChoice< ViewSel >::viewchoice ( void  ) const [inline]

Return view selection choice.

Definition at line 211 of file brancher.hpp.

template<class ViewSel >
size_t Gecode::PosChoice< ViewSel >::size ( void  ) const [inline, virtual]

Report size occupied.

Implements Gecode::Choice.

Reimplemented in Gecode::Int::Branch::PosValuesChoice< ViewSel, View >, and Gecode::PosValChoice< ViewSel, ValSel >.

Definition at line 216 of file brancher.hpp.


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