Description: First take an integer less than n d1 as the first increment, the document d1 all records are divided into groups. Distance in multiples of all the records of dl in the same group. The group first direct insertion sort then, take the second increment d2 <d1重复上述的分组和排序,直至所取的增量dt=1(dt<dt-l<…<d2<d1),即所有记录放在同一组中进行直接插入排序为止
To Search:
File list (Check if you may need any files):
shell_order.cpp