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.

Functions

template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Compare >
void 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 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 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 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 InputIterator , typename IntOutputIterator >
void computeOrder (InputIterator begin, InputIterator end, IntOutputIterator order)
 Compute the order for the elements.
template<typename RandomAccessIterator , typename IntInputIterator >
void orderByRank (RandomAccessIterator begin, RandomAccessIterator end, IntInputIterator ranks)
 Order the elements by rank.

Detailed Description

Contains the sorting functions.

Generated on Thu Jun 30 02:14:51 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3