搜索资源列表
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.
Cpp288534
- ACM题目,在一条走廊内移动桌椅,观察是否有重叠部分,有多少重叠-ACM subject, a mobile furniture corridor observe whether there is some overlap, the number of overlapping
hanoi
- 目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子只有两三个,是很容易解决的。但是随着盘子数目的增加,问题就变得非常难解了。 -purpose is to the left of all the dishes moved to the right side of the pole. Only a mobile one tray, you can use the middle of t
马踏棋盘(第2章)
- 1. 问题描述设计一个国际象棋的马踏遍棋盘的演示程序。2. 基本要求将马随机放在国际象棋8*8棋盘的某个方格中,马按走棋规则进行移动。编制非递归程序,求出马的行走路线,将数字1,2,3,4,…,64依次填入一个8*8方阵。-1. Problem descr iption design of a chess board Ma travels in the demonstration program. 2. Ma basic requirements on random chess 8 * 8 ch
chess.py
- Python实现A*算法解决八数码问题。 输入为九个数字的列表,代表八个数的位置(Z字型方向),空位以-1代替。 输出为各移动步骤得到的九个数的矩阵(输出到屏幕)。 使用是调用answer函数。返回一个各移动步骤得到的九个数的矩阵的列表。-Python achieving eight A* algorithm to solve digital problems. Enter a list of the nine numbers represent the number eight p
1915
- poj1915求移动棋子到特定位置的最少次数,BFS经典题目-poj1915 for mobile pawn to a specific location of the minimum number, BFS Classic Title
hanlo
- 如图所示放置3根柱子,其中一根从上往下按由小到大顺序串有若干个圆盘,要求通过3根柱子移动圆盘。若规定每次只能移动1片,且不许大盘放在小盘之上,最后要将圆盘从一根柱子移动到另一根柱子上。-Placed as shown in Figure 3 columns, in which a top-down according to the order from small to big series there are a number of disc, called for the adoption
NBJG
- 设计一个测试程序比较几种内部排序算法的关键字比较次数和移动次数以取得直观感受。 基本要求 :(1)对起泡排序、直接排序、简单选择排序、快速排序、希尔排序、堆排序算法进行比较; (2)待排序表的表长不小于1000,表中数据随机产生,至少用5组不同数据作比较,比较指标有:关键字参加比较次数和关键字的移动次数(关键字交换记为3次移动); (3)输出比较结果。 -Design a testing procedure based on comparing several internal
PowerControlforWirelessData
- 随着蜂窝移动通信市场的巨大发展,下一代通信将是移动多媒体通信。这种情况产生了一个问题,如何对语音信源以外的多媒体信源进行功率控制。在探讨这个问题上,我们引入微观经济学中的数学模型和概念以及博弈论理论。在本文中,电话的通话质量被称为“效度”,对于一个CDMA电话通信的分布式功率控制被看作是一个‘非协作的博弈’。-CDMA mobile communication system is a technology which will be used in the next-generation com
tianxian
- With the rapid development of wireless communication,mobile subscribers have increasing requirements of the system capacity and communication quality.Therewith, the design of the base station antenna,which is a vital component of a wireless syste
Bubble
- 试分别实现交换排序和非递归形式的快速排序算法,并通过随机数据比较两种排序算法的关键字比较次数和关键字移动次数。 (1)待排序表的表长不小于100;其中的数据要用伪随机数产生程序产生;至少要用5组不同的输入数据作比较;比较的指标为有关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。 (2)最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。 (3)对快速排序算法进行适当的优化,并列出优化前后的效率对比。 -Subjects were asked to a
Sort
- 数据结构各种排序的性能比较:移动次数,时间长短等-Data structure performance comparison of various sort: mobile number, duration, etc.
shujujiegoushiyan8
- 数据结构实验,各种排序算法,C++编写的代码和实验报告,带有各种算法的比较和移动次数等。-Experimental data structure, various sorting algorithms, C++ code and lab report writing, with a comparison of various algorithms and mobile number and so on.
sort-compare
- 内部排序算法比较 问题描述:编制一个演示内部排序算法比较的程序。可对冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序和堆排序进行比较。 算法输入:排序方法选择,待排序的元素的关键字,关键字序列的给出方式(正序、逆序和乱序) 算法输出:不同情况下关键字参加的比较次数和关键字的移动次数。 算法要点:(1)由键盘输入待排序表的表长(50到100)和不同测试数据的组数。(2)利用不同排序方法排序并统计两类次数,列表显示(3)程序以对话方式执行。 -Comparison of
spcomm
- This program communicates with serial port and send the SMS to the specified mobile number. It requires GSM kit to be connected with serial port.
Internal-sort-of-comparison-method
- 1)对以下9种内部排序算法进行比较:起泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、堆排序、折半插入排序、二路插入排序、归并排序。 (2)待排序表的表长不小于 100;其中的数据要用伪随机数产生器产生;至少要用 5 组不同的输入数据做比较;比较的指标为关键字参加的比较次数和关键字的移动次数(关键字交换为 3 次移动)。 (3)针对不同的输入表长做试验,观测检查两个指标相对表长的变换情况。 (4)随机产生的数据保存到文件 input.txt 中,将各个算法的关键字比较次
sort
- 设计一个测试程序比较几种内部排序算法的关键字比较次数和移动次数以取得直观感受。-Design a test program the comparison of several internal sort algorithm of the key word more times and mobile number in order to obtain intuitive feel.
shiyan6
- 实现直接插入排序、冒泡排序、简单选择排序、快速排序、希尔排序等5种常用内部排序算法,比较各算法的比较次数和移动次数。-Direct insertion sort, bubble sort, simply sort, quick sort, Hill sorting five kinds of commonly used internal sorting algorithm, comparing the number of comparisons and mobile number of eac
Internal-comparison-algorithm
- 系统用srand()函数产生一个以当前时间开始的随机种子。其产生的种子用选择排序、冒泡排序、快速排序将顺序表中的数字排好,设置变量记录每种排序关键字的移动次数和关键字的比较次数。选择排序:利用L.length-1个循环,将随机种子按从小到大的顺序排好。-System with srand () function generates a random seed to start the current time. Which produces seeds with selection sort,
rank
- 内部排序算法比较:通过随机数据比较各排序算法的关键字比较次数和关键字移动次数,以及执行时间,取得直观感受。 1、各算法在不同规模下的比较。 1)比较范围:直接插入排序、冒泡法排序、简单选择排序、快速排序1(自己实现)、快速排序2(调用STL)、归并排序。 2)比较指标:a)关键字操作次数(比较次数和移动次数之和),b)排序时间。每个指标采用多次重复取平均数记录,重复次数不小于100。注:1次关键字对换按3次移动计算。 3)数据规模:分别为50,100,500,1000,5000,