-
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
-
tanhaoqiangdiwuzhang
谭浩强c++课件第五章 是一个很好的C++学习课件 值得拥有(Hemopurification c++ courseware fifth chapter is a good learning courseware deserve C++)
- 2014-01-14 11:40:14下载
- 积分:1
-
93857189
一个简单的数据挖掘程序,有贝叶斯方法和bp算法,还有决策数的简单实现,(A simple data mining program, there are Bayesian methods and bp algorithm, and the simple implementation of decision numbers,)
- 2018-11-28 05:06:03下载
- 积分:1
-
NURBS110707
高速切削加工技术是一种先进的制造技术,具有强大的生命力和广阔的应
用前景,已成为切削加工的主流。数控插补技术是数控系统实现轨迹运动控制
的基础,插补运算是CNC系统软件实现运动控制的核心模块,插补算法的优劣
将直接影响到CNC系统的性能。因此,实现一种高精度和高速度的插补方法是
插补的关键所在。
本文在分析传统基准脉冲插补、数据采样插补的算法的基础上,着重研究
了三次NURBS曲线实时插补技术,针对部分算法的不完整或效率低,提出了
一种简单快捷的插补算法。采用NURBS曲线的矩阵表达式,将整个插补过程
分解为插补预处理和实时插补。在插补预处理中完成了大量的计算,预处理的
计算结果直接应用于实时插补,使插补算法满足了NURBS曲线插补的实时性
要求,再辅以必要的轮廓误差控制,实现了加工速度自适应于加工路径的
NURBS曲线直接插补。
本文讨论的插补算法采用C++语言实现,并在VC++6.0的编程环境中实现
了插补算法的计算机仿真,验证了算法的正确性和可行性。(The high speed cutting is one of advanced manufacture technique,which has the powerful vitality and the broad application,and already became the mainstream of machining.The interpolation technology of NC is the foundation of path s control in the CNC system,and the interpolation operation is the core module of
CNC system software,which comes the motion control true.The interpolation
algorithm,whose function is good or bad,directly influences the performance of CNC system.So,a kind of interpolation method with the high accuracy and high speed is the key of interpolation.
Based on analyzing the traditional pulse interpolation and data sampling
interpolation,this paper emphasizes on the NURBS curve real-time interpolation
technology.In view of the partial algorithms which is incomplete and the low efficiency,this paper propose a simple and quick interpolation algorithm.Using the
matrix representation of NURBS curve,the whole interpolation process is divided into appropriate pretreat)
- 2011-07-07 11:46:17下载
- 积分:1
-
柴油机
说明: 数据实时监测、数据实时采集、柴油机工作探测(Data real-time monitoring, data real-time acquisition, diesel engine working detection)
- 2020-06-22 16:20:44下载
- 积分:1
-
同一机器上的不同端口 UDP 通信
局域网的文本通信示例; 简单演示了一个聊天工具的基本功能(a text communication demo in VB for LAN network)
- 2018-10-24 23:08:50下载
- 积分:1
-
student_TOP
c++源程序课程设计,完整的学生成绩管理系统(c++ source program curriculum design, a complete management system for student achievement)
- 2009-12-28 16:18:20下载
- 积分:1
-
C++矩阵库
说明: 直接调用矩阵的函数库,方便矩阵的相关运算(Call the function library of matrix directly to facilitate the related operation of matrix)
- 2020-09-16 17:02:13下载
- 积分:1
-
baojingzhuangzhi
基于单片机的报警装置,在出现危险的时候可以自己发出警报自带灯光闪烁和声音(Microcontroller-based alarm device, can be dangerous when an alarm comes with flashing lights and sound)
- 2012-06-29 20:53:32下载
- 积分:1
-
mine
用vc++6.0编程实现一个扫雷的游戏程序(Programming using vc++6.0 of a mine' s games)
- 2010-07-12 16:57:48下载
- 积分:1