Function ADS::mergeExchangeNetwork
Defined in File SortingNetworks.h
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