-
c++深度优先搜索的回溯法实现多集合矩阵互斥问题
给定1个1000行×20列的0-1矩阵,对于该矩阵的任意1列,其中值为1的元素的数量不超过10%。设有两个非空集合A和B,每个集合由矩阵的若干列组成。集合A和B互斥是指对于矩阵的任意一行,同时满足下列2个条件:1)若A中有一个或多个元素在这一行上的值是1,则B中的元素在这一行全部是0;2)若B中有一个或多个元素在这一行上的值是1,则A中的元素在这一行全部是0。请你设计一个算法,找出集合A、B和C,满足:1)A、B、C两两互斥,且2)A、B和C包含的列的总数最大。
- 2022-07-25 02:20:37下载
- 积分:1
-
奇数幻方矩阵
奇数幻方矩阵
- 2022-05-23 06:06:04下载
- 积分:1
-
simp4辛普生积分法
利用辛普生法积分,是比矩形积分法和梯形积分法更为精确的计分方法。辛普生方法采用抛物线插值,对二次函数是精确的,而二次函数的积分为三次函数。辛普生定步长积分对有突变的函数在运算
- 2022-01-22 13:11:05下载
- 积分:1
-
gtchb6xjunbu6jvn jknmjunjhbnhb
gtchb6xjunbu6jvn jknmjunjhbnhb
- 2023-02-23 11:50:04下载
- 积分:1
-
Was established based on moving least square (Moving Least
建立了一种基于移动最小二乘(Moving Least-Squares MLS)法的曲线曲
面拟合方法 这种方法对传统的最小二乘(LS)法的作了比较大的改进 使生成的曲线曲面具
有精度高 光滑性好等许多优点 详细介绍了移动最小二乘法的原理 应用和特点 并且给
出了使用移动最小二乘法进行曲线曲面拟合的程序设计流程 最后给出了曲线拟合和空间散
乱数据曲面拟合算例 将拟合结果与最小二乘拟合结果作了比较 分析了 MLS 拟合曲线曲
面的光滑性和拟合质量 表明了该方法的优越性和有效性-Was established based on moving least square (Moving Least-Squares MLS) method of this curve and surface fitting method to the traditional method of least squares (LS) method was relatively large improvements to make the generated curves and surfaces with a precision of High smoothness, good detail, and many other advantages of the principle of least-squares method for mobile applications and features and gives the least-squares method using the mobile curve and surface fitting procedure design process Finally, curve fitting and spatial scattered data surface to be cost-effective cases of the results of the fitting results are compared with the least-squares fitting analysis of MLS fitting curves and surfaces smooth and fitting quality demon
- 2023-02-17 12:50:04下载
- 积分:1
-
完整的复数计数器,用VC++实现,实现了复数的所有类型的计算...
完整的复数计数器,用VC++实现,实现了复数的所有类型的计算-integrity in the plural counter, with VC++, achieving the plural of all types of computing
- 2023-06-29 08:20:03下载
- 积分:1
-
财经类数值算法(finacial numerical recipes),压缩包内有pdf文件和c++源码...
财经类数值算法(finacial numerical recipes),压缩包内有pdf文件和c++源码-Financial category numerical algorithm (Financial numerical recipes), compressed within a pdf file and c-source
- 2022-05-07 13:55:22下载
- 积分:1
-
apriori算法
该算法的基本思想是:首先找出所有的频集,这些项集出现的频繁性至少和预定义的最小支持度一样。然后由频集产生强关联规则,这些规则必须满足最小支持度和最小可信度。然后使用第1步找到的频集产生期望的规则,产生只包含集合的项的所有规则,其中每一条规则的右部只有一项,这里采用的是中规则的定义。一旦这些规则被生成,那么只有那些大于用户给定的最小可信度的规则才被留下来。为了生成所有频集,使用了递归的方法。
- 2022-02-25 11:52:15下载
- 积分:1
-
应用密码学:协议、算法与C源程序 DES 源码
应用密码学:协议、算法与C源程序 DES 源码
Additional functions not in the MIT library are:
des_dea - Identical to des_ecb_encrypt.
des_key - Same as des_set_key without any parity
or weak-key test.
des_ecb2_encrypt - The Electronic Code Book mode of
encryption/decryption on
- 2022-02-22 06:23:36下载
- 积分:1
-
clean algoruthm
主要是详细的介绍了clean算法的函数程序,适合用于图像处理、超宽带通信信道仿真、信号处理求信道冲击响应的方向,
- 2022-10-08 13:00:02下载
- 积分:1