Template Function ADS::permutationsLex

Function Documentation

template<class F>
long ADS::permutationsLex(Tuple a, F &&visit)

the permutations of the multiset a, lexicographic from a sorted