-
Qt朴素贝叶斯算法代码
用Qt完成朴素贝叶斯算法,界面美观,可读性强,健壮性和时间复杂度较好,适合广大的初学者学习朴素贝叶斯算法,对算法教学也有很大的帮助,可用于嵌入式方面的研究。
- 2022-05-22 07:57:40下载
- 积分:1
-
任意数学表达式计算的源码及测试软件
任意数学表达式计算的源码及测试软件-Calculation of arbitrary mathematical expression of the source code and test software
- 2022-01-21 04:19:42下载
- 积分:1
-
Kalman滤波实现LabVIEW使用源代码,是一个LLB包
利用LabVIEW实现Kalman滤波的源码,是一个llb包-Kalman filtering to achieve the use of LabVIEW source code, is a llb package
- 2022-01-31 10:29:10下载
- 积分:1
-
VHDL实现8051(完全版)
VHDL实现8051(完全版)
- 2022-03-21 19:55:49下载
- 积分:1
-
ID3决策树matlab源码
这个是使用Matlab实现ID3决策树的源代码,注释的非常清楚。选择了三组数据。非常容易懂。
- 2022-03-07 11:10:10下载
- 积分:1
-
- 2022-02-13 16:14:05下载
- 积分:1
-
计算PI(圆周率)的程序,可以计算2的N次幂的精确度
计算PI(圆周率)的程序,可以计算2的N次幂的精确度- Calculates PI (girth quotient) the procedure, may calculate 2 N
power the precision
- 2022-02-02 00:13:52下载
- 积分:1
-
lte多用户MIMO
LTE作为一个向4g过渡的协议,其引进了若干关键技术比如多用户mimo,其可以大大增强数据数据传输速率,减小用户间的干扰,使得用户可以得到更好的服务,代码基于lte给出了相关的仿真工作。 &
- 2022-04-14 13:58:36下载
- 积分: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
-
分子动力学的fortran源程序
分子动力学的fortran源程序
molecular dynamics
microcanonical ensemble
application to argon. the lennard-jones potential is truncated at rcoff and not smoothly continued to zero. initial the npart particles
are placed on an fcc lattice. the velocities are drawn from a boltzmann distribution with temperature tref.
- 2022-08-12 20:49:01下载
- 积分:1