-
youxiangtu
编写C程序,随机给出n*n的邻接矩阵,并打印输出邻接矩阵,以及有向图的边的个数,每个顶点的度,并判断该图中是否存在Euler回路:
(1)如果为n阶,则随机产生一个n*n的邻接矩阵;
(2)输出邻接矩阵,边的个数,每个顶点的度以及图中是否存在Euler回路。
这个题目涉及到了两个主要的知识点,一个是数据结构中的有向图的邻接矩阵的创建,还有就是离散数学中的Euler回路的判定定理。(The preparation of C procedures, were randomly given n* n s adjacency matrix and adjacency matrix printouts, as well as to map the number of edges, each vertex degrees, and determine the existence of the map Euler circuit: (1) If for n-order, then randomly generated a n* n adjacency matrix (2) output adjacency matrix, the number of edges, each vertex of degree as well as map the existence of Euler circuit. This topic relates to two main points of knowledge, a data structure of digraph adjacency matrix of creation, there is discrete mathematics in the loop to determine Euler theorem.)
- 2008-06-14 02:33:57下载
- 积分:1
-
机器学习常用方法
机器学习常用方法的python实现,包括PCA,随机森林,决策树,层次聚类,kmeans,KNN,线性感知机等(Python implementation of common machine learning methods, including PCA, random forest, decision tree, hierarchical clustering, kmeans, KNN, linear perceptron, etc.)
- 2018-01-24 11:35:29下载
- 积分:1
-
NS-2的快速播放模块
问题:
如在线游戏和警报消息的应用程序
传播是敏感的每个数据包延迟交货。考虑车辆
Ad hoc 网络 (车用) ;在这方面,多跳的快速繁殖
广播的消息上述应用程序生成的需要
能够避免冗余传输和其他的特定解决方案的部署
消息传播延迟的来源。
解决方案:
我们有
开发了一个解决方案,允许车辆在某汽车排到动态
估计他们的传输范围,并有效地利用这种信息
尽可能传播广播的消息用尽可能少的啤酒花 (和传输)。
在本质上,在一条消息的传输范围,最远交通
发件人/转发器将统计学荣幸成为下一步 (和
只有) 转发器。
更多详细说明的问题和
可以找到解决办法,[1] [2] (请参阅此 web 页的引用)。
执行 NS-2:
为执行所描述的解决方案
在[1] [2]我们已为众所周知的网络创建一些新的模块
模拟器 (版本 ns-2.29,虽然它可能与其他工作也
版本)。
具体来说,我们已经创建以下模块:
- bbcast-packet.h包含的定义
新的数据包报头 ;
- bbcast-packet.cc包括
执行的函数来访问数据包报头 ;
- BroadcastbaseAgent.h包括
有关机的其他代理 ; 函数原型
- BroadcastbaseAgent.cc包括
执行的职能的广播的代理
- 2022-10-24 03:05:03下载
- 积分:1
-
WOA相关文档
说明: 改进鲸鱼优化算法及其在渣油加氢参数优化的应用,基于鲸鱼算法优化 WKELM 的滚动轴承故障诊断(The improved whale optimization algorithm and its application in parameter optimization of residue hydrotreating were used to optimize the fault diagnosis of rolling bearing based on wkelm)
- 2020-07-09 16:15:12下载
- 积分:1
-
小波去噪
说明: 基于小波变换的多种去噪方法在matlab上的实现(based on wavelet transform multiple Denoising in the realization of Matlab)
- 2020-11-23 17:29:33下载
- 积分:1
-
mega16定时器秒表,外部中断控制暂停和继续
晶振12M,定时器溢出中断每一秒触发一次,中断函数控制秒数加一,当秒数等于99时归零。秒数由两位数码管动态显示。定时器的溢出中断的暂停和继续由两个外部中断控制。外部中断按下后由其相应的中断程序使能或失能定时器溢出中断。定时器部分参考叶大鹏老师代码,外部中断代码自行编写。亲测有效。
- 2022-03-16 09:00:16下载
- 积分:1
-
Project Oriented Object
Project Oriented Object
- 2022-07-24 20:03:22下载
- 积分:1
-
FMBC_OQAM_Processing
说明: FBMC波形的MATLAB仿真代码,包含OQAM过程的预处理和解码(MATLAB simulation code for FBMC waveform, including OQAM process preprocessing and decoding)
- 2021-03-02 11:33:31下载
- 积分:1
-
data_loan
说明: 入链贷款信息索引表,用于区块链查询贷款信息。(Linked Loan Information Index Table)
- 2020-06-20 13:40:01下载
- 积分:1
-
IP核!!高速傅立叶变换的VHDL源代码 可以综合
IP核!!高速傅立叶变换的VHDL源代码 可以综合-IP core! ! High-speed Fourier transform of the VHDL source code can be integrated!!
- 2022-03-02 20:49:37下载
- 积分:1