Generated on Fri Mar 20 12:35:20 2009 for cpsp-2.3.1 by doxygen 1.5.5

Gecode::Int::IntRankView Class Reference

#include <GC_IntRankView.hh>


Detailed Description

Definition at line 28 of file GC_IntRankView.hh.


Public Member Functions

unsigned int getRank (void) const
 IntRankView (const Gecode::IntVar &x, unsigned int r)
 IntRankView (const Gecode::IntVar &x)
 IntRankView (void)
void setRank (unsigned int r)
void update (Space *home, bool share, IntRankView &x)

Protected Attributes

unsigned int rank

Constructor & Destructor Documentation

Gecode::Int::IntRankView::IntRankView ( void   )  [inline]

Default constructor.

Definition at line 34 of file GC_IntRankView.hh.

Gecode::Int::IntRankView::IntRankView ( const Gecode::IntVar &  x  )  [inline]

Initialize from integer variable x and rank 0.

Definition at line 37 of file GC_IntRankView.hh.

Gecode::Int::IntRankView::IntRankView ( const Gecode::IntVar &  x,
unsigned int  r 
) [inline]

Initialize from integer variable x and rank r.

Definition at line 40 of file GC_IntRankView.hh.


Member Function Documentation

unsigned int Gecode::Int::IntRankView::getRank ( void   )  const [inline]

Returns the rank of this variable.

Definition at line 44 of file GC_IntRankView.hh.

void Gecode::Int::IntRankView::setRank ( unsigned int  r  )  [inline]

Sets the rank of this variable.

Definition at line 46 of file GC_IntRankView.hh.

void Gecode::Int::IntRankView::update ( Space *  home,
bool  share,
IntRankView x 
) [inline]

Definition at line 48 of file GC_IntRankView.hh.


Field Documentation

unsigned int Gecode::Int::IntRankView::rank [protected]

Definition at line 30 of file GC_IntRankView.hh.


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