cpsp::gecode::GC_RankViewSel< VS > Class Template Reference
#include <GC_RankViewSel.hh>
Detailed Description
template<class VS>
class cpsp::gecode::GC_RankViewSel< VS >
A view selection for IdxIntView that selects hierachically first by the rank of the view and if equal as best so far by the given second view selector.
Definition at line 35 of file GC_RankViewSel.hh.
Public Member Functions | |
Gecode::ViewSelStatus | init (const SuperSpace *home, const IdxIntView &x) |
Gecode::ViewSelStatus | select (const SuperSpace *home, IdxIntView x) |
Protected Attributes | |
unsigned int | rank |
VS | vs |
Member Function Documentation
template<class VS>
Gecode::ViewSelStatus cpsp::gecode::GC_RankViewSel< VS >::init | ( | const SuperSpace * | home, | |
const IdxIntView & | x | |||
) | [inline] |
template<class VS>
Gecode::ViewSelStatus cpsp::gecode::GC_RankViewSel< VS >::select | ( | const SuperSpace * | home, | |
IdxIntView | x | |||
) | [inline] |
does the selection and returns the selection status for the given view
Definition at line 41 of file GC_RankViewSel.icc.
Field Documentation
template<class VS>
unsigned int cpsp::gecode::GC_RankViewSel< VS >::rank [protected] |
template<class VS>
VS cpsp::gecode::GC_RankViewSel< VS >::vs [protected] |
second view selector in case of equal rank of two views
Definition at line 40 of file GC_RankViewSel.hh.
The documentation for this class was generated from the following files:
- src/cpsp/gecode/GC_RankViewSel.hh
- src/cpsp/gecode/GC_RankViewSel.icc