Static stack for quicksort. More...
#include <sort.hpp>
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. |
Static stack for quicksort.
Gecode::Support::QuickSortStack::QuickSortStack | ( | void | ) | [inline] |
bool Gecode::Support::QuickSortStack::empty | ( | void | ) | const [inline] |
void Gecode::Support::QuickSortStack::push | ( | Type * | l, |
Type * | r | ||
) | [inline] |
void Gecode::Support::QuickSortStack::pop | ( | Type *& | l, |
Type *& | r | ||
) | [inline] |