登录
首页 » 算法 » 外排序初始游程的生成

外排序初始游程的生成

于 2023-03-18 发布 文件大小:285.34 kB
0 231
下载积分: 2 下载次数: 1

代码说明:

外排序中分为两步:初始游程的生成和有序文件的合并。请实现算法模拟初始游程的生成。假定系统中只能对规模为p的元素进行排序,现给定m个元素(m>p),对m个元素进行处理,给出所生成的若干个有序的初始游程。 要求: (1) 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • separate speakers detection based on energy calculation
    这个函数实现了一个简单的语音检测器。算法是
    2023-08-09 22:25:03下载
    积分:1
  • a full 3D simulation of electromagnetic waves with efficient absorbing boundary...
    a full 3D simulation of electromagnetic waves with efficient absorbing boundary a full 3D simulation of electromagnetic waves with efficient absorbing boundary conditions SYNOPSIS- a full 3D simulation of electromagnetic waves with efficient absorbing boundary a full 3D simulation of electromagnetic waves with efficient absorbing boundary conditions SYNOPSIS
    2022-05-25 07:53:42下载
    积分:1
  • 函数最小的遗传算法
    经典算法应用: 遗传算法求函数最小的例子-Genetic algorithm for the smallest example of function
    2023-06-28 14:50:03下载
    积分:1
  • 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...
    给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。要求求出一种切割法使得所使用的矩形板的高度h最小.用递归及分治法解此问题-given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked obtained a law made by cutting the use of the rectangular plate height h minimum. Using recursive and partition Solving this problem
    2022-10-31 04:20:03下载
    积分:1
  • ASN.1样例工程代码
    ASN.1样例工程代码-ASN.1 type example project code
    2022-02-13 08:09:01下载
    积分:1
  • Tic tac toe算法
    kelebihan, namun manusia tetap memiliki berbagai kelemahan seperti mudah lelah, mudah lupa, dipengaruhi emosi, subjektif, kurang teliti, malas, dan sebagainya. Kemudian muncul ide untuk menciptakan komputer sebagai alat bantu kerja agar lebih cepat, dan lebih akurat. Namun saat ini komputer tidak hanya mampu bertindak tetapi juga mampu berfikir sehingga muncul istilah Artificial Intellegence (AI) atau Kecerdasan Buatan. Minimax merupakan salah satu contoh dari Kecerdasan Buatan, minimax adalah suatu algoritma yang menggunakan teknik pencarian Depth-First Search dengan kedalaman terbatas. Adapun media yang cocok untuk penerapan algoritma minimax adalah permainan Tic-Tac-Toe, beberapa alasan mengapa Tic- Tac-Toe
    2022-07-03 14:15:32下载
    积分:1
  • c++实现SVD
    一个C++实现的SVD程序,可用于数值分析或潜在语义索引,在矩阵分解完成后有对右奇异矩阵的列向量进行相似度计算。
    2022-03-03 16:57:58下载
    积分:1
  • 基于51单片机的信号产生于周期检测
    通过51单片机的外部中断接收信号,用51单片机定时器0的工作模式2记时,准确的产生一定周期的方波。同时当外部中断检测到信号的下降沿则打开定时器1记时,当第二个信号来时,关闭定时器1,读取时间,显示数据。
    2022-02-22 01:50:55下载
    积分:1
  • 输油管道计算程序
    本程序包含输油管道的一个计算程序,用Vb写成,主要参考《输油管道设计》里面的计算公式,可以计算管径,温降,压力降等
    2022-05-17 21:21:17下载
    积分:1
  • 基于opencv的手势识别
    基于opencv的手势识别,使用了camshift算法.对运动物体的跟踪:如果背景固定,可用帧差法 然后在计算下连通域 将面积小的去掉即可如果背景单一,即你要跟踪的物体颜色和背景色有较大区别 可用基于颜色的跟踪 如CAMSHIFT 鲁棒性都是较好的如果背景复杂,如背景中有和前景一样的颜色 就需要用到一些具有预测性的算法 如卡尔曼滤波等 可以和CAMSHIFT结合 ...
    2022-04-09 20:17:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载