-
没有计划到邻近的建立和遍历
无向图的邻接表的建立和遍历-no plans to the table adjacent to the establishment and ergodic
- 2023-03-05 15:30:03下载
- 积分:1
-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1
-
清华大学蒙特卡洛方法课件。这是一个很好的教程…
Monte Carlo方法课件,清华大学用的。
这是一份很好的Monte Carlo方法教程,详细的介绍了蒙特卡洛算法的知识和应用。-Monte Carlo method courseware, Tsinghua University. This is a very good tutorial Monte Carlo method.
- 2022-01-25 23:15:45下载
- 积分:1
-
k-means 算法接受输入量 k ;然后将n个数据对象划分为 k个聚类以便使得所获得的聚类满足:同一聚类中的对象相似度较高;而不同聚类中的对象相似度较小。聚类相似度是利用各聚类中对象的均值所获得一个“中心对象”(引力中心)来进行计算的。
Matlab 源代码,以兰花数据集作为测试对象。-k-means algorithm to accept input k then n data object is divided into k-clustering in order to make available to the cluster to meet: the same objects in clustering high similarity and objects in different clustering the similarity smaller. Cluster similarity is the use of the clustering of objects by means of a
- 2022-02-01 10:09:59下载
- 积分:1
-
哈夫曼编码构造 c++程序
哈夫曼编码构造 c++程序 -Huffman coding structure c procedures
- 2022-05-07 06:24:23下载
- 积分:1
-
直接访问文件
为实现使用哈希技术的直接访问文件的程序。碰撞处理采用线性探测和链接没有更换。[散列函数 = (record_id mod 10)]
- 2023-03-29 00:50:04下载
- 积分:1
-
NFA转换为DFA等工具,用java语言
other tool nfa convert to dfa by java language
- 2022-05-15 05:47:06下载
- 积分:1
-
最小二乘法与曲线拟合-fortran
小二乘法合的fortran语言实现,与曲线拟合的fortran实现
- 2023-07-26 20:45:04下载
- 积分:1
-
最小二乘拟和工具,一次直线拟和和二次去线拟和,可以直观看见拟和点与拟和曲线之间的偏差。...
最小二乘拟和工具,一次直线拟和和二次去线拟和,可以直观看见拟和点与拟和曲线之间的偏差。-Least-squares fitting tools, and to be a straight line and secondary lines to be and can be seen to be intuitive and with the preparation and the deviation between the curves.
- 2023-03-26 22:40:04下载
- 积分:1
-
C语言进程调度
资源描述关于进程调度的操作系统实验的算法,可以点击来看看,进程调度的算法
- 2022-01-26 00:51:30下载
- 积分:1