搜索资源列表
直接插入冒泡选择排序算法的实现
- 排序是数据结构中的一项重要内容,该算法包括了直接插入冒泡选择排序算法的实现- The arrangement is in a construction of data important content, this algorithm has included the direct insertion bubbling choice sort algorithm realization
最短距离问题
- 求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接的线路连接。如果用三元组(i,j,f)来表示该网络中的站点I和站点j之间有直接的线路连接且它们之间的距离为f 当已知该网络各站点之间的直接连接情况由m个三元组(i1,j1,f1),(i2,j2,f2),…,(im,jm,fm)确定时,要求计算出对于网络中任意一个站点g(1≤g≤n)到其余各站点的最短距离。-the shortest pat
教学计划编制问题
- 大学的每个专业都要编制教学计划。假设任何专业都有固定的学习年限,每学年含两学期,每学期的时间长度和学分上限都相等。每个专业开设的课程都是确定的,而且课程的开设时间的安排必须满足先修关系。每个课程的先修关系都是确定的,可以有任意多门,也可以没有。每一门课程恰好一个学期。试在这样的情况下设置一个教学计划编制程序。 基本要求: (1):输入参数:学期总数,一学期的学分上限,每门课的课程号,学分,直接先修关系的课程号。 (2):课程号尽可能的集中在前几个学期中。 (3):若无解,
Some_Sort_Program_Implement_by_C
- 几种排序算法的C语言实现 用函数实现如下算法: (1) 直接插入排序, 希尔排序 (2) 冒泡排序, 快速排序 (3) 选择排序, 堆排序 (4) 归并排序 (5) 基数排序 -several algorithm using C language function algorithm to achieve the following : (a) direct insertion sort, Hill sequencing (2) Bubble Sort, rapid
shellsort111
- 附有本人超级详细解释(看不懂的面壁十天!) 一、 实际问题: 希尔排序(Shell Sort)是插入排序的一种。因D.L.Shell于1959年提出而得名。它又称“缩小增量分类法”,在时间效率上比插入、比较、冒泡等排序算法有了较大改进。能对无序序列按一定规律进行排序。 二、数学模型: 先取一个小于n的整数d1作为第一个增量,把文件的全部记录分成d1个组。所有距离为dl的倍数的记录放在同一个组中。先在各组内进行直接插人排序;然后,取第二个增量d2<d1重复上述的分组和
ant1
- 利用蚂蚁算法解决TSP旅行商问题,用他能直接输出路由接点-use TSP ant algorithm to solve the traveling salesman problem, in his direct contact output routing
cstring
- 定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小,设计各种情况调用此三个重载操作符。-definition of a string type String, its private members as a str
DEMO(sort)
- 实现各种内部排序。包括冒泡排序,直接插入排序,Shell排序,快速排序,堆排序,并比较排序的比较次数和移动次数。主要是C语言。-achieve internal order. Including bubble sort, direct insertion sort, Shell sort, quick sort, heap sort, and compare the ranking of number and mobile number. C is the main language.
cfffsss
- 改进后的算法大大减少了对于那些运动矢量为零的块的搜索冗余,同时对于运动比较剧烈的块直接进入大范围搜索。这样即提高了搜索效率,又不会使搜索结果陷入局部最优。-improved algorithm greatly reduced for those zero motion vector search block redundancy, Meanwhile, more intense campaign of direct access to block large-scale search. That
suanfa
- 这是我今年数据结构的课程设计,课题是实现冒泡排序,快速排序,直接插入排序,直接选择排序的算法比较 绝对原创哦-This is my data structure of this curriculum design, the task is to achieve bubble sort, quick sort, direct insertion sort, directly choose Sort Algorithm relatively absolute originality oh
compositor_arithmetic
- 最近对排序算法的复习,包括直接插入排序,冒泡排序,选择排序,快速排序,归并排序,希尔排序。在VC6.0中测试通过并有简单原理说明-recent review of the sorting algorithms, including direct insertion sort, bubble sort, select Sort, quick sort, merge sort, Sort Hill. VC6.0 test in the adoption and simple Rationale
chsword-Queue
- 自写的C语言队列的代码,include后可以直接使用-since written in C language code cohort, include direct access after
各种排序比较
- 分别实现直接插入排序、冒泡排序、简单选择排序、希尔排序、快速排序、堆排序,并随机生成30个数,比较各算法的时、空性能和稳定性。-respectively direct insertion sort, bubble sort, simple choice, in order of ranking Hill, the quick sort, heap sort, and Random Number Generation 30, a comparison algorithm, the performa
ds_kcsj_cxc
- 《数据结构》排序演示系统。实现6种内部排序。包括直接插入排序,希尔排序,冒泡排序,直接选择排序,快速排序,堆排序。。这是我的数据结构课程设计!-"data structure" Sort demonstration system. Six species of achieving internal order. Including direct insertion sort, Hill, in order Bubble Sort, direct selection, in o
double-direct-linklist
- 1 在windows下用emacs+MinGw做的一个简单例子; 2 功能:实现了一个简单的双向链表的创建、删除和打印功能。
AniMatrix
- 用c写的对矩阵求逆的算法,采用直接迭代,适合2阶和3阶矩阵-used to write the right matrix inversion algorithm, the introduction of direct iteration, for two bands and three bands Matrix
improved mergesort
- 这是一个改进了自顶向下的归并排序,它改进的地方主要有:采用小子文件截止的机制,当序列长度小于32时,采用直接插入排序;对归并的内循环作了优化,判断的次数更少。-This is an improvement from a top-down sort of merger, it improved the main : the deadline for the paper boy mechanism, the length of the sequence is less than 32, the us
教学计划编制
- 大学的每个专业都要编制教学计划。假设任何专业都有固定的学习年限,每学年含两学期,每学期的时间长度和学分上限都相等。每个专业开设的课程都是确定的,而且课程的开设时间的安排必须满足先修关系。每个课程的先修关系都是确定的,可以有任意多门,也可以没有。每一门课程恰好一个学期。试在这样的情况下设置一个教学计划编制程序。三、基本要求:(1):输入参数:学期总数,一学期的学分上限,每门课的课程号,学分,直接先修关系的课程号。(2):课程号尽可能的集中在前几个学期中。(3):若无解,则报告错误信息;否则见教学计
Direct-insertion-sort
- 一种直接插入排序法在Visual2010环境下的实现例程。-Direct insertion sort
Direct-insertion-method-main2
- 这是用C++语言写的一个用直接排序法排序的程序-This is written in c++ language a program that sorted by direct sequencing method