-
linear sequence storage structure VC++6.0 algorithm developed ~!
线形表的顺序存储结构算法 VC++6.0下开发~!-linear sequence storage structure VC++6.0 algorithm developed ~!
- 2022-01-29 03:24:49下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-02-26 02:05:02下载
- 积分:1
-
J48实现数据挖掘c4.5
代码是数据挖掘技术中使用的,用Java编写。实际上就是数据挖掘技术中决策树的C45算法。
- 2022-03-25 10:01:43下载
- 积分:1
-
矩阵乘法
矩阵乘法
- 2022-03-11 03:31:02下载
- 积分:1
-
该程序完成马尔可夫分析,马尔可夫分析是运筹学中很重要的一个技术。...
该程序完成马尔可夫分析,马尔可夫分析是运筹学中很重要的一个技术。-Markov analysis, operations research, Markov analysis is a very important one technology.
- 2023-03-06 13:55:03下载
- 积分:1
-
相关性系数
应用背景计算成年人年龄和身体脂肪相关性系数关键技术数据挖掘计算两组数据是正相关还是负相关
- 2023-03-02 00:35:03下载
- 积分:1
-
k--mean 实现聚类算法
这是一个用c++编写的k-mean程序,完全能够实现聚类算法,可以帮助大家学习c++和聚类算法!
- 2022-07-10 08:15:36下载
- 积分:1
-
用c++实现的矩阵运算类,包括了各种矩阵的运算
用c++实现的矩阵运算类,包括了各种矩阵的运算-With c++ Realization matrix calculation categories, including a variety of matrix operations
- 2022-03-25 07:07:16下载
- 积分:1
-
多项式拟合 demo
1、把x,y数据复制在txt文件
2、输入拟合阶数
3、点击拟合
- 2023-08-07 19:15: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