Gecode::Support::QuickSortStack< Type > Class Template Reference
Detailed Description
template<class Type>
class Gecode::Support::QuickSortStack< Type >
Static stack for quicksort.
Definition at line 54 of file sort.icc.
Public Member Functions | |
QuickSortStack (void) | |
Initialize stack as empty. | |
bool | empty (void) const |
Test whether stack is empty. | |
void | push (Type *l, Type *r) |
Push two positions l and r. | |
void | pop (Type *&l, Type *&r) |
Pop two positions l and r. |
Constructor & Destructor Documentation
template<class Type>
Gecode::Support::QuickSortStack< Type >::QuickSortStack | ( | void | ) | [inline] |
Member Function Documentation
template<class Type>
bool Gecode::Support::QuickSortStack< Type >::empty | ( | void | ) | const [inline] |
template<class Type>
void Gecode::Support::QuickSortStack< Type >::push | ( | Type * | l, | |
Type * | r | |||
) | [inline] |
template<class Type>
void Gecode::Support::QuickSortStack< Type >::pop | ( | Type *& | l, | |
Type *& | r | |||
) | [inline] |
The documentation for this class was generated from the following file:
- gecode/support/sort.icc (Revision: 6405)