登录
首页 » 算法 » stable matching

stable matching

于 2023-02-04 发布 文件大小:112.32 kB
0 148
下载积分: 2 下载次数: 1

代码说明:

简单的稳定匹配算法实现,无bug Implement Gale-Shapley algorithm of the Stable Matching Problem in your favorite language, and give the matching result of attached ranking data (boys rankings.txt and girls rankings.txt), supposing that the ranking is sorted from high to low. (C++ source file gs make ranking.cc which generates the data is also supplied here.)  

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

发表评论

0 个回复

  • 幻方
    在娱乐数学幻方是安排不同的数字 (即每个数字使用一次),通常是整数,在正方形网格中,在那里在每一行和每一列中的数字和中向前和向后主对角线上的数字都加起来到相同的编号。幻方具有相同的行数以及它有根柱子,在常规的数学符号,"n"代表数量的行 (和列),它有。因此,魔术广场总是包含 n2 的数字,和它的大小 (行 [和列],它具有数目) 被形容为"的 n 阶"。[1] 包含从 1 到 n2 整数的魔术方块被称为正常的幻方。("魔方"一词有时也用于指各种类型的单词方块。)有可能构建任何大小除了 2 × 2 正常幻方 (也就是说,其中 n = 2),虽然幻方的解决方案其中 n = 1 是微不足道的因为它只是由单个单元格包含数字 1。小非平凡案例,如下所示,是一个 3 × 3 网格 (也就是说,三阶的魔术广场)。这是解决 nxn 幻方的项目
    2023-03-28 06:25:04下载
    积分:1
  • 用C++编写的基于插值的两种检索
    用C++编写的基于插值算法的两种检索算法-prepared by the interpolation algorithm based on the two Search Algorithm
    2022-04-21 19:53:06下载
    积分:1
  • 提供一种解决庞加莱制图的方,分享相关程序,…
    提供一个求解庞加莱映射的方法,分享相关的程序,互相学习。-To provide a method of solving the Poincare mapping, sharing related procedures, learn from each other.
    2022-03-04 09:01:49下载
    积分:1
  • 球面投影
    球面投影,用于图像空间数据到目标坐标系下的映射,里面有测试图像及matlab程序代码,运行没有问题
    2023-05-08 18:10:03下载
    积分:1
  • 键盘事件触发检测
    当单击鼠标左键时或者按下键盘一个按键,程序会检测到,并在窗口显示相关信息,适用于初学VC6.0winapp开发者参考。
    2022-08-24 20:27:01下载
    积分:1
  • 基于ArcGIS10.2的excle数据转换成.shp数据
    基于C#语言开发的数据转换,将Exele数据转换成.shp数据,在转换的过程中,需要将X/Y两坐标的位置互换。
    2022-04-09 00:32:52下载
    积分:1
  • 国外以为牛人编的,我也不怎么懂。。可以用来做课程设计,折实作者后来司升级后的软件...
    国外以为牛人编的,我也不怎么懂。。可以用来做课程设计,折实作者后来司升级后的软件-abroad who thought that cattle series, I do not understand how. . Can be used for curriculum design, the authors pack it later Secretary upgraded software
    2022-04-14 16:24:33下载
    积分:1
  • 该程序是用C语言写的采用了动量方的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的...
    该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的方法,该网络实例中实现的是对某一函数的逼近,输入层为二层,中间层可自己设定多达十几层,逼近精度非常精确。读者可根据自己的需要设定各层的数目以及相应的训练样本进行训练与测试。-The program is written in C language using the momentum method of BP neural network, which has extremely powerful scalability, can be used for function approximation and classification in areas such as language specification, including large-scale use of a dynamically allocated one, two dimensional array of methods, examples of the network realize that the approximation of a function, for the second input layer, middle layer can be set as many as a dozen layers, close to very precise accuracy. Readers may need to be set in accordance with its own number of floors and the corresponding training samples for training and testing.
    2022-09-23 15:35:02下载
    积分:1
  • 给出计常微分方程(组)的各种的使用示例。
    给出计算常微分方程(组)的各种算法的使用示例。-Given the calculation of ordinary differential equations (group) the use of various algorithms sample.
    2022-10-03 12:05:03下载
    积分:1
  • 任意合数分解成质数的程序
    任意合数分解成质数的程序-Arbitrary composite number into prime number of procedures
    2022-09-10 21:15:03下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载