Function ADS::hibbardGaps
Defined in File ShellSort.h
Function Documentation
-
inline std::vector<std::size_t> ADS::hibbardGaps(std::size_t n)
the gaps 1 , 3 , 7 , 15 , … below n, increasing
- Post:
the gaps start from 1 and increase
Defined in File ShellSort.h
the gaps 1 , 3 , 7 , 15 , … below n, increasing
the gaps start from 1 and increase