-
约瑟夫环算法
约瑟夫(Joseph)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。试设计一个程序求出出列顺序。
- 2022-06-30 12:51:48下载
- 积分:1
-
两个城市之间的最短路径
此程序读取一个文件从一个国家的城市之间的距离的名字"图",然后从输入获取的两个城市的名称。然后它计算两个城市的最短的路径。输出是路线和最短路径。
"图"文件的结构就像: 源城市目的地城市的距离。
NONAME00.cpp 创建文件"graph.dat"。
- 2022-03-16 13:02:53下载
- 积分:1
-
Face Detect Using OPENCV
应用背景基于OPENCV的人脸检测算法,能够实现基本的人脸检测,对于初学者是较好的实例,可根据具体的平台进行修改关键技术目标检测已经应用到很多领域,目前人脸检测是较为热门和成熟的话题,本代码希望通过简单实例,介绍基本的入门代码。
- 2022-07-02 22:13:16下载
- 积分:1
-
模糊控制的程序,应用Matlab Simulink工具箱搭建了一个模糊控制器,可应用于在输入不确定下的数据处理...
模糊控制的程序,应用Matlab Simulink工具箱搭建了一个模糊控制器,可应用于在输入不确定下的数据处理-Fuzzy control procedures, application of Matlab Simulink toolbox to build a fuzzy controller can be used in the input data under the deal with uncertainty
- 2022-03-19 03:40:09下载
- 积分:1
-
一种用于求解线性方程组的C++程序,很有用…
用LU分解法求解线性方程组的c++程序,有用的数值分析程序-LU decomposition method used for solving linear equations of c procedures useful numerical analysis program
- 2023-04-15 11:35:03下载
- 积分: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
-
vc++拟合
最小二乘法直线拟合拟合直线方程(Y=kX+b)
- 2022-07-27 23:48:51下载
- 积分:1
-
Upload Script 1.0
资源描述Upload Script 1.0,用asp写的算法,有基础的同学可以看看
- 2023-07-11 06:55:03下载
- 积分:1
-
traveling salesman Branch and Bound graphics algorithm to solve the traveling sa...
货郎担 分枝限界算法图形求解货郎担问题的分枝限界算法图形演示-traveling salesman Branch and Bound graphics algorithm to solve the traveling salesman problem Branch and Bound algorithm graphic demonstration
- 2023-01-15 15:25:04下载
- 积分:1
-
线性方程迭代法,下载的顶一下哦
线性方程迭代法,下载的顶一下哦-Linear equations iterative method, download the top click oh
- 2022-11-01 13:05:03下载
- 积分:1