aitools::invertedindex::InternalIntroSort Class Reference

#include <InternalIntroSort.hpp>

List of all members.

Static Public Member Functions

template<typename Value >
static void sort (Postlist< Value > &postlist, Quantile &quantile, Sorting mode)
template<typename Value >
static void sort (std::vector< Value > &values, Quantile &quantile, Sorting mode)

Private Types

typedef Configuration::Sorting Sorting

Private Member Functions

 InternalIntroSort ()

Static Private Member Functions

template<typename Value >
static void comp_quantile (const std::vector< Value > &values, Quantile &quantile)

Detailed Description

A class that provides a static method to sort a postlist in memory. The algorithm used is std::sort of the STL, which is currently an SGI implementation of introsort.

See also:
http://www.sgi.com/tech/stl/sort.html
Author:
martin.trenkmann@uni-weimar.de
Version:
Id
InternalIntroSort.hpp,v 1.12 2010/10/15 17:44:48 trenkman Exp

Definition at line 27 of file InternalIntroSort.hpp.


Member Typedef Documentation

Definition at line 31 of file InternalIntroSort.hpp.


Constructor & Destructor Documentation

aitools::invertedindex::InternalIntroSort::InternalIntroSort (  )  [private]

Member Function Documentation

template<typename Value >
void aitools::invertedindex::InternalIntroSort::comp_quantile ( const std::vector< Value > &  values,
Quantile quantile 
) [inline, static, private]
template<typename Value >
void aitools::invertedindex::InternalIntroSort::sort ( std::vector< Value > &  values,
Quantile quantile,
Sorting  mode 
) [inline, static]
template<typename Value >
void aitools::invertedindex::InternalIntroSort::sort ( Postlist< Value > &  postlist,
Quantile quantile,
Sorting  mode 
) [inline, static]

The documentation for this class was generated from the following file:
Generated on Wed May 30 15:07:33 2012 by  doxygen 1.6.3