-
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
-
基于交替方向乘子法的二次规划问题求解 ADMM quadprog
基于交替方向乘子法的二次规划问题求解,解决一般的二次规划问题(Based on alternating direction multiplier method for solving quadratic programming problems, to solve the general quadratic programming problem)
- 2021-04-12 02:38:57下载
- 积分:1
-
matlabwork
本程序是由空间梁单元构成的一个外形为长方体的框架算例,且有外力F以及分布荷载作用在框架节点上,计算该框架的变形和内力。
输入参数: 无
输出结果: 节点位移和单元节点力(failed to translate)
- 2013-05-08 23:35:47下载
- 积分:1
-
resampling
地震勘探中,地震数据处理的重采样程序,很好用(Resampling in seismic data processing procedures, very useful)
- 2016-10-16 19:05:43下载
- 积分:1
-
HexToFloat
说明: 这个小工具可以实现浮点数(4个字节)和实数之间的转换。(This gadget can achieve floating-point numbers (4 bytes) and the conversion between real numbers.)
- 2008-10-20 10:47:00下载
- 积分:1
-
ARMAX
ARMAX辨识,利用输入输出数据辨识系统模型(ARMAX identification using input and output data to identify)
- 2009-05-10 12:26:37下载
- 积分:1
-
CRLB
求取TDOA,TOA定位算法的克拉美罗界(description of CLRB for TDOA and TOA)
- 2021-03-22 16:29:16下载
- 积分:1
-
NewNotePad
VB仿Windows可显示行号的记事本程序,有需要的下。(VB notepad application in imitation of a Windows to display line Numbers, in need.)
- 2013-08-15 18:06:33下载
- 积分:1
-
PrivateSubText1
校运动会代码(部分),使用VB编程,由学生自己开发(yundonghui)
- 2010-12-14 10:56:17下载
- 积分:1
-
STACK
用C语言编写的堆栈接口,适用于各种环境,提供接口:
STACK *initStack(int MaxRoom)
void destroyStack(STACK **spp)
void resetStack(STACK *sp)
Boolean isStackEmpty(STACK stack)
Boolean isStackFull(STACK stack)
Boolean push(STACK *sp, USER_TYPE data)
Boolean pop(STACK *sp, USER_TYPE *data)
Boolean readTop(STACK stack, USER_TYPE *data) (C language implementation of the stack)
- 2013-07-22 10:59:32下载
- 积分:1