-
二叉树算法实现
/*
二叉树搜索, 前序: 中左右; 中序: 左中右; 后序: 左右中
A(4)
+-------+-------+
B(2) C(9)
+--+--+ +-----+-----+
D(1) E(3) F(5)
+--+--+
&
- 2022-04-22 08:49:28下载
- 积分:1
-
分数阶微分方程的欧拉方法
Eular法解分数阶微分方程-eular method of fractional differential equations
- 2022-03-21 22:53:32下载
- 积分:1
-
很不容易找到的一个外国人写的Fp
很不容易找到的一个外国人写的Fp-growth的算法。注释很清楚,编程风格值得借鉴-Not easy to find a foreigner to write the Fp-growth algorithm. Notes It is clear that programming style is worth learning from
- 2023-01-14 16:00:03下载
- 积分:1
-
C语言查表法求atan函数,
采用C语言实现,查表法运算速度快,对于不带浮点运算的单片机来说,查表法既简单又高效,对于一般精度要求的场合都适用。查表法只需要查找判断,不涉及浮点计算,对时钟要求不高,可轻松应用的51单片机上。例程给出了此查表法在TI的MSP430单片机中的简单应用。
- 2022-02-27 04:10:11下载
- 积分:1
-
A Reader Anti-collision Protocol for RFID-Enhanced Wireless Sensor Networks
资源描述Abstract Considering rapid developments in the technologies of both radio-frequency identification
(RFID) systems and wireless sensor networks (WSN), an integration of the two
technologies may lead to the formation of an RFID-enhanced WSN which would possess
improved functions and capabilities. In the RFID-enhanced WSN, many reader-enhanced
nodes have increasingly been employed. In such networks, RFID data contains a lot of duplication,
because the same tag may be read multiple times, and collision may occur among
readers, while energy constraints are also a serious problem. These three could in turn cause
serious problems. In this paper, we have proposed our CSMA-based algorithm since it is light,
efficiently minimizes all kinds of reader collision, and eliminates the duplicate data. For this
purpose, we have used a separate control channel and a tag ID forwarding mechanism with a
special co
- 2023-05-06 18:20:03下载
- 积分:1
-
kmeans算法 C语言实现
用于kmeans算法实现,是用C语言编写的,易于转为C++,可以方便想知道kmeans后台算法的朋友学习,希望那个对大家有所帮助
- 2022-01-26 01:01:52下载
- 积分:1
-
每到一个小时的工作时间完成,将为我的第一份工作分配…
n件工作分给n各人完成,将第i个工作分配给第j个人完成需要费用cij,是设计一算法,为每个人分配不用的工作,费用最少-n to n pieces of work hours each to complete, will for the first i jobs j assigned to the first individual to complete required cost cij, is to design an algorithm, for each person assigned do not work, would cost at least
- 2023-05-24 07:25:03下载
- 积分:1
-
目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子...
目的是把左边的所有盘子移到右边的杆子上。一次只能移动一个盘子,你可以使用中间的杆子作为临时存放盘子的地方。小盘子必须放在大盘子之上。问题看似不难。的确,如果盘子只有两三个,是很容易解决的。但是随着盘子数目的增加,问题就变得非常难解了。
-purpose is to the left of all the dishes moved to the right side of the pole. Only a mobile one tray, you can use the middle of the pole plate as a temporary storage place. Small plates must be placed on the platter on top. It may seem it is not difficult. Indeed, if the plate is only 23, it"s very easy to solve. But with the increase in the number of dishes, the problem has become a very difficult.
- 2022-01-31 01:19:13下载
- 积分:1
-
GN算法-Python代码
应用背景GN算法是一个经典的社区发现算法,它属于分裂的层次聚类算法,最初,由Michelle Girvan和Mark Newman于2012年提出。可处理网络里社团的发现。。。。。。。关键技术其基本思想是不断的删除网络中具有相对于所有源节点的最大的边介数(ege betweenness)的边,然后,再重新计算网络中剩余的边的相对于所有源节点的边介数,重复这个过程,直到网络中,所有边都被删除。。。。。。。
- 2022-03-10 14:56:19下载
- 积分:1
-
形态学处理
腐蚀– 腐蚀是一种消除边界点,使边界向内部收缩的过程。– 可以用来消除小且无意义的物体 膨胀–膨胀是将与物体接触的所有背景点合并到该物体中,使边界向外部扩张的过程。–可以用来填补物体中的空洞
- 2022-08-13 13:13:17下载
- 积分:1