Template Function ADS::detail::chooseK

Function Documentation

template<class Ok, class Done>
bool ADS::detail::chooseK(int n, int k, Ok &&ok, Done &&done)

the sets of k nodes of [ 0 , n ), extended only while ok( S , v )