Template Function ADS::applyNetwork

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