Template Function ADS::applyNetwork
Defined in File SortingNetworks.h
Function Documentation
-
template<class T, class C = std::less<>>
void ADS::applyNetwork(std::vector<T> &A, const std::vector<Comparator> &N, C less = C()) the comparators of N applied to A in their order
- Pre:
each comparator is within A