-
一个关于数据挖掘的决策树算法
一个关于数据挖掘的决策树算法-a data mining on the Decision Tree Algorithm
- 2022-01-25 19:53:42下载
- 积分:1
-
一般的数值求解算法
一般的数值求解算法-general numerical algorithm
- 2023-04-12 10:20:03下载
- 积分:1
-
一个函数,模拟 Alamouti 空时码
这是一个函数,模拟 Alamouti 时空计划并绘制误码率 vs 信噪比图。
- 2022-01-27 11:10:28下载
- 积分:1
-
科学与工程数值算法中的矩阵类
科学与工程数值算法中的矩阵类-science and engineering numerical algorithm of matrices
- 2022-04-01 16:14:43下载
- 积分:1
-
实数据快速傅立叶变换算法2
实数据快速傅立叶变换算法2-false information Fast Fourier Transform algorithm 2
- 2023-05-06 12:35:02下载
- 积分:1
-
遗传算法库及Demo
很详细的遗传算法使用和例子。
包括VS下单独的遗传算法库和vs下遗传算法库的使用demo。
- 2022-12-16 00:45:03下载
- 积分:1
-
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为...
一、前言
24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为输。
二、分析
用计算机来算这个题,搜索速度当然有很大优势,我编程喜欢考虑通用一点,不限制输入数量和结果数,甚至不限制运算符数量。这样组合数就很大,如果输入数比较多,则搜索时间会非常长。
我用两个方法来提高搜索速度:一、是大家都能考虑到的重复搜索问题,比如1,2,3和2,3,1所有的组合情况是相同的,我只搜索使用递增序的数组,则可以降低一个组合数的数量级别;二、使用动态规划中的备忘录方法,比如你计算出2和3所有可能的计算结果,则他们与4结合的时候,要用到,与1结合的时候,也要用到,使用备忘录,可以只计算一次,大大降低运算复杂度。
三、设计
整体设计:分别设计4个类:游戏、表达式、运算、分数,各司其责,结构清晰,易于扩展。
-First, the preamble
24-point game is a common game, give the title are four integer requiring answer within a specified period of time in a four calculations give the expression, just use that the integral of the time, results for the 24, beyond the time to lose.
Second, analysis
Use computers to count the title, the search speed of course, there is a great advantage, I enjoy taking generic programming that does not restrict the importation of the volume and the number of results, and even limiting the number of operators. So on a large number of combinations, if you
- 2022-04-21 18:17:05下载
- 积分:1
-
实验目的:用Lingo软件求解整数线性规划问题。
实验内容:
已知某个中型百货商场对售货人员的需求经统计如下表,实现工作的安排...
实验目的:用Lingo软件求解整数线性规划问题。
实验内容:
已知某个中型百货商场对售货人员的需求经统计如下表,实现工作的安排-Experimental Objective: Lingo software for solving integer linear programming problem.
Experiment content:
Are known to a medium-sized department store sales personnel, the demand for statistics by the following table to realize the work arrangements
- 2022-01-26 03:03:01下载
- 积分:1
-
矩阵运算实矩阵相乘复矩阵相乘实矩阵求逆的全选主元高斯约当法...
矩阵运算实矩阵相乘复矩阵相乘实矩阵求逆的全选主元高斯约当法-matrix calculation real matrix multiplication complex matrix multiplication matrix inversion is a wholly-elected PCA Gaussian about when France, etc.
- 2023-09-04 05:45:03下载
- 积分:1
-
高斯―塞德尔迭代法。
高斯―塞德尔迭代法。-Gauss- Seidel iteration.
- 2022-05-22 21:37:54下载
- 积分:1