Algorithms and DataStructures:Sorting 2、插入排序 2、shel排序 e.g:将序列49、38、65、97、76、13、27、49、55、4用shell排序的方法进行排序 1、选定步长序列,如选为8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为1。 步长8:49、38、65、97、76、13、27、49、55、4 步长8:49、38、65、97、76、13、27、49、5、4 31 SORT
31 物料管理 SORT Algorithms and DataStructures:Sorting 31 2、插入排序 2、 shell 排序 e.g: 将序列 49、38、65、97、76、13、27、49、55、4 用 shell 排序的方法进行排序 1、选定步长序列,如选为 8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为 1 。 步长 8:49、38、65、97、76、13、27、49、55、4 步长 8:49、38、65、97、76、13、27、49、55、4
Algorithms and DataStructures:Sorting 2、插入排序 2、 shell排序 e.g:将序列49、38、65、97、76、13、27、49、55、4用shell排序的方法进行排序 1、选定步长序列,如选为8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为1。 步长8:49、38、65、97、76、13、27、49、55、4 步长8:49 65、97、76、13、27、49、5538 步长为8的序列的排序结束。 32 SORT
32 物料管理 SORT Algorithms and DataStructures:Sorting 32 2、插入排序 2、 shell 排序 e.g: 将序列 49、38、65、97、76、13、27、49、55、4 用 shell 排序的方法进行排序 1、选定步长序列,如选为 8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为 1 。 步长 8:49、38、65、97、76、13、27、49、55、4 步长 8:49、 4、 65、97、76、13、27、49、55、38 步长为 8 的序列的排序结束
Algorithms and DataStructures:Sorting 2、插入排序 2、shel排序 e.g:将序列49、38、65、97、76、13、27、49、55、4用shell排序的方法进行排序 1、选定步长序列,如选为8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为1。 步长4:49、4、65、97、76、13、27、49、55、38 步长4: 65、97、6、3、27、49、55、38 33 SORT
33 物料管理 SORT Algorithms and DataStructures:Sorting 33 2、插入排序 2、 shell 排序 e.g: 将序列 49、38、65、97、76、13、27、49、55、4 用 shell 排序的方法进行排序 1、选定步长序列,如选为 8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为 1 。 步长 4:49、 4、 65、97、76、13、27、49、55、38 步长 4:49、 4、 65、97、76、13、27、49、55、38
Algorithms and DataStructures:Sorting 2、插入排序 2、 shell排序 e.g:将序列49、38、65、97、76、13、27、49、55、4用shell排序的方法进行排序 1、选定步长序列,如选为8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为1。 步长4:49、4、65、97、76、13、27、49、55、38 步长4: 43 、2、49、55、3、5、7、76、38 34 SORT
34 物料管理 SORT Algorithms and DataStructures:Sorting 34 2、插入排序 2、 shell 排序 e.g: 将序列 49、38、65、97、76、13、27、49、55、4 用 shell 排序的方法进行排序 1、选定步长序列,如选为 8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为 1 。 步长 4:49、 4、 27、49、55、13、65、97、76、38 步长 4:49、 4、 65、97、76、13、27、49、55、38
Algorithms and DataStructures:Sorting 2、插入排序 2、shel排序 e.g:将序列49、38、65、97、76、13、27、49、55、4用shell排序的方法进行排序 1、选定步长序列,如选为8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为1。 步长2:49、4、27、49、55、13、65、97、76、38 步长2: 49、 ,27、49、 55、3、65、7、 76、 8 35 SORT
35 物料管理 SORT Algorithms and DataStructures:Sorting 35 2、插入排序 2、 shell 排序 e.g: 将序列 49、38、65、97、76、13、27、49、55、4 用 shell 排序的方法进行排序 1、选定步长序列,如选为 8、4、2、1 2、针对步长序列进行排序,从最大的步长开始,逐步减少步长,最后一次选择的 的步长肯定为 1 。 步长 2:49、 4、 27、49、55、13、65、97、76、38 步长 2:49、 4、 27、49、55、13、65、97、76、38