0001 /****************************************************************************************** 0002 * 将vector各方法的实现部分,简洁地引入vector.h 0003 * 效果等同于将这些实现直接汇入vector.h 0004 * 在export尚未被编译器支持前,如此可将定义与实现分离,以便课程讲解 0005 ******************************************************************************************/ 0006 #include "_share/util.h" 0007 0008 #include "vector_bracket.h" 0009 #include "vector_assignment.h" 0010 0011 #include "vector_constructor_by_copying.h" 0012 0013 #include "vector_expand.h" 0014 #include "vector_shrink.h" 0015 0016 #include "Vector_insert.h" 0017 #include "vector_remove.h" 0018 #include "vector_removeInterval.h" 0019 0020 #include "Vector_find.h" 0021 #include "../selection/quickselect.h" 0022 #include "Vector_search.h" 0023 #include "Vector_search_binary_C.h" //有A、B、C三种版本,C最完善 0024 //#include "Vector_search_fibonaccian_A.h" //实用版(但返回值有待与接口统一) 0025 #include "Vector_search_fibonaccian_B.h" //华丽版 0026 0027 #include "Vector_traverse.h" 0028 0029 #include "Vector_unsort.h" 0030 #include "Vector_sort.h" 0031 //#include "vector_bubbleSort_A.h" 0032 //#include "vector_bubbleSort_B.h" 0033 #include "vector_bubbleSort_C.h" 0034 #include "vector_selectionSort.h" 0035 #include "vector_merge.h" 0036 #include "vector_mergeSort.h" 0037 #include "vector_partition_LUG.h" 0038 //#include "vector_partition_DUP.h" 0039 //#include "vector_partition_LGU.h" 0040 #include "vector_heapSort.h" 0041 //#include "vector_quickSort_recursive.h" 0042 #include "vector_quickSort_iterative.h" 0043 #include "vector_shellSort.h" 0044 0045 #include "Vector_uniquify.h" //或者Vector_uniquify_slow.h 0046 #include "Vector_deduplicate.h"