-
本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。
本程序采用循环单链表的算法来解决约瑟夫环问题:建立一个循环单链表,按顺序查找指定结点,找到后删除,最后打印删除的编号序列。- This procedure uses circulates Shan Lianbiao algorithm to solve
the Joseph link problem: Establishes to circulate Shan Lianbiao,
assigns the point according to the smooth search, after found deletes,
finally prints the serial number sequence which deletes.
- 2022-05-30 07:29:42下载
- 积分:1
-
将正整数分解为素数之积
将正整数分解为素数之积- Decomposes the positive integer product of into the prime
number
- 2022-03-23 08:39:30下载
- 积分:1
-
c 语言实现avl树
读取stl文件,把stl文件中所有三角形面片的顶点坐标记录下来,由于这些三角形面片都是相连的,所以肯定存在很多的重复点。现在要把这些重复点删除,并计算整个stl文件中的点的个数记录下来(不包括重复的点),数据结构用的是AVL树。
- 2022-06-01 23:26:33下载
- 积分:1
-
1, one dollar three regression equations CubicMultinomialRegress.cs equation mod...
一、 一元三次回归方程 CubicMultinomialRegress.cs
方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。
以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。
public override double forecast(double x)
预测函数,根据模型得到预测结果
public override double computeR2()
计算相关系数(决定系数),系数越接近1,数据越满足该模型。
-1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the dat
- 2022-01-26 07:28:21下载
- 积分:1
-
驱动调度程序
问题得到解决:编写一个程序来安排司机15天,给予最佳的解决方案。这是什么意思最优:用于最小驱动器,驱动器的关联是幸福的驾驶员协会强制执行一些规则,如司机不能在白班的工作,如果他在最后一个夜班工作过。输入:驱动程序的首选hollydays,最好轮班工作(阵列模式一样,看JPG GILE)输出:每个驾驶者的换挡,对于整个两个星期内,一些调试数据。在输出中 - 查找出“后移分配”,其他的东西都只是日志信息,你可以放心地忽略。
- 2022-02-04 23:42:00下载
- 积分:1
-
Curve fitting, curve realize you granges painting, you can generate random numbe...
曲线拟合,实现啦格朗日曲线画法,可以实时产生随机数来画-Curve fitting, curve realize you granges painting, you can generate random numbers in real-time to painting
- 2022-10-27 22:25:03下载
- 积分:1
-
示例随机数产生方法,符合平均分部和正态分部,示波器显示...
示例随机数产生方法,符合平均分部和正态分部,示波器显示-random sample method, in line with the average Division and the normal divisions, oscilloscope shows
- 2022-03-18 18:29:51下载
- 积分:1
-
lpc implement for distribut
lpc implement for distribut
- 2022-01-27 11:07:14下载
- 积分:1
-
mime64是什么:mime64是一rfc1341 MIME base64编码描述为其铺…
WHAT MIME64 IS: MIME64 is an encoding described in RFC1341 as MIME base64.Its purpose is to encode binary files into ASCII so that they may be passedthrough e-mail gates. In this regard, MIME64 is similar to UUENCODE.Although most binaries these days are transmitted using UUENCODE, Ihave seen a few using MIME64, and I have had requests from friends thatI decode MIME64 files that have fallen into their hands. As long assome MIME64 continues to exist, a package such as this one is usefulto have.
- 2022-03-22 13:30:49下载
- 积分:1
-
数独巧妙算法
偶遇数独游戏,了解了其中规则后,自己用c++做了一个数独矩阵生成程序,效率自认为比较高,欢迎大家交流!
- 2022-08-14 02:00:18下载
- 积分:1