Generated on Mon Jul 6 18:09:29 2009 for Gecode by doxygen 1.5.9

Gecode::PosDesc< ViewSel > Class Template Reference
[Generic branching based on view and value selection]

Branching descriptions storing position More...

#include <branching.hpp>

List of all members.

Public Member Functions

 PosDesc (const Branching &b, unsigned int a, const Pos &p, const typename ViewSel::Desc &viewd)
 Initialize description for branching b, number of alternatives a, position p, view selection description viewd.
const Pospos (void) const
 Return position in array.
const ViewSel::Desc & viewdesc (void) const
 Return view selection description.
virtual size_t size (void) const
 Report size occupied.


Detailed Description

template<class ViewSel>
class Gecode::PosDesc< ViewSel >

Branching descriptions storing position

Definition at line 137 of file branching.hpp.


Constructor & Destructor Documentation

template<class ViewSel>
Gecode::PosDesc< ViewSel >::PosDesc ( const Branching b,
unsigned int  a,
const Pos p,
const typename ViewSel::Desc &  viewd 
) [inline]

Initialize description for branching b, number of alternatives a, position p, view selection description viewd.

Definition at line 195 of file branching.hpp.


Member Function Documentation

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

Return position in array.

Definition at line 200 of file branching.hpp.

template<class ViewSel >
const ViewSel::Desc & Gecode::PosDesc< ViewSel >::viewdesc ( void   )  const [inline]

Return view selection description.

Definition at line 205 of file branching.hpp.

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

Report size occupied.

Implements Gecode::BranchingDesc.

Reimplemented in Gecode::Int::Branch::PosValuesDesc< ViewSel, View >, and Gecode::PosValDesc< ViewSel, ValSel >.

Definition at line 210 of file branching.hpp.


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