
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< Type >::QuickSortStack | ( | void | ) | [inline] |
| bool Gecode::Support::QuickSortStack< Type >::empty | ( | void | ) | const [inline] |
| void Gecode::Support::QuickSortStack< Type >::push | ( | Type * | l, |
| Type * | r | ||
| ) | [inline] |
| void Gecode::Support::QuickSortStack< Type >::pop | ( | Type *& | l, |
| Type *& | r | ||
| ) | [inline] |