Function ADS::shellGaps
Defined in File ShellSort.h
Function Documentation
-
inline std::vector<std::size_t> ADS::shellGaps(std::size_t n)
the gaps 1 , … , n / 4 , n / 2 of Shell, increasing
- Post:
the gaps start from 1 and increase
Defined in File ShellSort.h
the gaps 1 , … , n / 4 , n / 2 of Shell, increasing
the gaps start from 1 and increase