Generated on Tue Sep 25 2012 20:53:34 for Gecode by doxygen 1.7.5
Gecode::Support::QuickSortStack Class Reference

Static stack for quicksort. More...

#include <sort.hpp>

List of all members.

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.

Detailed Description

Static stack for quicksort.


Constructor & Destructor Documentation

Gecode::Support::QuickSortStack::QuickSortStack ( void  ) [inline]

Initialize stack as empty.

Definition at line 76 of file sort.hpp.


Member Function Documentation

bool Gecode::Support::QuickSortStack::empty ( void  ) const [inline]

Test whether stack is empty.

Definition at line 82 of file sort.hpp.

void Gecode::Support::QuickSortStack::push ( Type *  l,
Type *  r 
) [inline]

Push two positions l and r.

Definition at line 88 of file sort.hpp.

void Gecode::Support::QuickSortStack::pop ( Type *&  l,
Type *&  r 
) [inline]

Pop two positions l and r.

Definition at line 94 of file sort.hpp.


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