-
1.利用实验建立一个有序表,采用折半查找实现某一已知的关键字的查找。
2.随机产生一组关键字,利用二叉排序树的插入算法建立二叉排序树,然后删除某一指定关键字...
1.利用实验建立一个有序表,采用折半查找实现某一已知的关键字的查找。
2.随机产生一组关键字,利用二叉排序树的插入算法建立二叉排序树,然后删除某一指定关键字元素。
3.已知散列函数H(key)=key p(p为自定义的常数),冲突处理方法分别为线性探测法、外拉链法实现 散列表的建立。
-find
- 2023-04-14 17:55:04下载
- 积分:1
-
自己以前做的汇编小程序,希望对大家有用。
自己以前做的汇编小程序,希望对大家有用。-A compilation of their previous small program to do the hope that useful for everyone.
- 2023-03-11 17:30:04下载
- 积分:1
-
由计算机来当小学低年级学生的数学老师的VB应用程序
由计算机来当小学低年级学生算术老师的VB应用程序-By the computer to when the lower primary students math teacher VB application
- 2022-03-05 09:26:07下载
- 积分:1
-
采用遗传算法的 tsp 问题
旅行商问题 (TSP) 是一个基准和计算机科学和行动研究中的老问题。它可以表示为:
N 的网络节点 (或城市),与 " 节点 1" 作为 "总部" 和旅行成本 (或距离或旅行时间等) 矩阵 C = [cij] 的顺序给出了 n 与序的节点对 (i,j) 相关联。问题是要找到一个最不成本哈密顿周期。
根据成本矩阵的结构,Tsp 被分为两个群体 — — 对称和非对称。TSP 是对称如果 cij = cji,∀ i、 j 和非对称否则为。N 市非对称的 tsp 问题,有)! 1 (−n 可能的解决方案,一个或多个的给出了最小的成本。
对于 n 市对称 tsp 问题,有 2)! 1 (−n 可能的解决办法以及它们具有相同的总费用的反向循环排列。在任一情况下解的个数成为极大甚至中等大 n 因此穷举搜索是不切实际的。主要原因有三个为什么 tsp 问题已引起了很多研究者的关注和仍然是一个活跃的研究领域。第一,大量的现实世界的问题可以被建模为 TSP。第二,它被证明是 NP-完全问题 [1]。第三,NP-完全问题的意义上,没有人能找到任何真正有效的方式解决他们的大难治性
- 2023-08-16 14:05:03下载
- 积分:1
-
Multi
多元树的层次遍历、先根遍历、后根遍历
问题的描述:
函数填空:层次遍历多元树(在文件tree.cpp中3个空)、先根遍历、后根遍历的递归函数(在文件tree.h中2个空);
多元树的输入:在主程序中调用多元树的函数(定位根、找大儿子、找下一个兄弟等),输入某棵多元树。
-Multi-level tree traversal, the first traversal the root, root traversal issues Description: function to fill in the blank: multi-level tree traversal (tree.cpp in the document in three space), the first traversal the root, root ergodic recursive function (in the document in two empty tree.h) multiple input tree: In the main program to call multi-tree function (positioning root, look for the eldest son, to find a brother, etc.), enter a multi-tree tree.
- 2022-01-26 03:50:14下载
- 积分:1
-
CMonitor 控件是一个轻型的类,用于在对话框中显示DOS文本屏幕。 在你的对话框的头文件中包含 Cmonitor1.h ,增加 CMonitor 控件类型
CMonitor 控件是一个轻型的类,用于在对话框中显示DOS文本屏幕。 在你的对话框的头文件中包含 Cmonitor1.h ,增加 CMonitor 控件类型的成员变量到子类中上-CMonitor controls is a light kind, uses in to demonstrate the
DOS text screen in the dialog box. Contains Cmonitor1.h in yours
dialog box head document, increases CMonitor to control a type the
member variable to the subclass in on
- 2022-03-09 18:35:05下载
- 积分:1
-
操作系统中的页面调度(先进进出,最近很少使用算法,最佳算法等等,操作系统中比较重要的算法)...
操作系统中的页面调度(先进进出,最近很少使用算法,最佳算法等等,操作系统中比较重要的算法)-operating system pages Scheduling (advanced access, recently rarely used algorithm, the best algorithms and so on the operating system more important algorithm)
- 2022-12-21 18:10:03下载
- 积分:1
-
VB窗体滚动条控件写的一个简单的应用实例附上…
VB窗体滚动条控件,简单写一应用实例附上源代码,从截图就可以看出,是不是有点个性?上侧的滚动条是不能拖动的,可以作为指示用,类似进度条的功能,拖动下边的滚动条,上边的会自动指示出滚动条拖动的大致位置,还有中间滚动、两侧滚动,使用方法比较多,慢慢研究吧。
-VB Forms scroll bar controls to write a simple application example to attach the source code, from the screenshot you can see, is not it a little personality? On the side of the scroll bar is not drag, and can be used as direct use, similar to the function of the progress bar, drag the bottom of the scroll bar, above the scroll bar will automatically indicate the general location of drag, as well as the middle of rolling on both sides of Scroll, using methods are more leisurely study bar.
- 2022-04-20 00:57:38下载
- 积分:1
-
收集到外国的一个批量下载工具。功能强大
收集到外国的一个批量下载工具。功能强大-Collect a group download tool abroad. Powerful
- 2023-01-24 19:45:04下载
- 积分:1
-
没有任何功能,只作演示用的程序粗略框架。适合教学使用。...
没有任何功能,只作演示用的程序粗略框架。适合教学使用。-There is no function, only the procedures used for a rough framework for presentation. Suitable for teaching use.
- 2022-06-28 05:37:56下载
- 积分:1