vtf-logo

sort.h File Reference

Contains the sorting functions. More...

#include "Triplet.h"
#include "../functor/compose.h"
#include "../functor/select.h"
#include <algorithm>
#include <vector>
#include <cassert>
#include "sort.ipp"

Go to the source code of this file.

Namespaces

namespace  ads

Functions

template<typename RandomAccessIterator1, typename RandomAccessIterator2, typename Compare>
void ads::sortTogether (RandomAccessIterator1 begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2, RandomAccessIterator2 end2, Compare compare1)
 Sort the two ranges together, using the first for comparisons.
template<typename RandomAccessIterator1, typename RandomAccessIterator2>
void ads::sortTogether (RandomAccessIterator1 begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2, RandomAccessIterator2 end2)
 Sort the two ranges together, using the first for comparisons.
template<typename RandomAccessIterator1, typename RandomAccessIterator2, typename RandomAccessIterator3, typename Compare>
void ads::sortTogether (RandomAccessIterator1 begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2, RandomAccessIterator2 end2, RandomAccessIterator3 begin3, RandomAccessIterator3 end3, Compare compare1)
 Sort the three ranges together, using the first for comparisons.
template<typename RandomAccessIterator1, typename RandomAccessIterator2, typename RandomAccessIterator3>
void ads::sortTogether (RandomAccessIterator1 begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2, RandomAccessIterator2 end2, RandomAccessIterator3 begin3, RandomAccessIterator3 end3)
 Sort the two ranges together, using the first for comparisons.
template<typename RandomAccessIterator, typename IntInputIterator>
void ads::orderByRank (RandomAccessIterator begin, RandomAccessIterator end, IntInputIterator ranks)
 Order the elements by rank.


Detailed Description

Contains the sorting functions.


Generated on Fri Aug 24 12:55:37 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7