Function ADS::mergeExchangeNetwork

Function Documentation

inline std::vector<Comparator> ADS::mergeExchangeNetwork(std::size_t n)

the merge exchange of Batcher for n items

Post:

each comparator ( i , j ) has i < j < n