虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Q.

  • [输入] 图的顶点个数N

    [输入] 图的顶点个数N,图中顶点之间的关系及起点A和终点B [输出] 若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点 [存储结构] 图采用邻接矩阵的方式存储。 [算法的基本思想] 采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达B点的路径,一定是边数最少的路径。实现时采用队列记录被访问过的顶点。每次访问与队头顶点相邻接的顶点,然后将队头顶点从队列中删去。若队空,则说明到不存在通路。在访问顶点过程中,每次把当前顶点的序号作为与其邻接的未访问的顶点的前驱顶点记录下来,以便输出时回溯。 #include<stdio.h> int number //队列类型 typedef struct{ int q[20]

    标签: 输入

    上传时间: 2015-11-16

    上传用户:ma1301115706

  • 为基带系统测试误码率而写的数字噪声程序

    为基带系统测试误码率而写的数字噪声程序,包括噪声产生程序和一个测试文件。可以分别产生两路噪声供I,Q两路使用,速率80Mbps左右。

    标签: 基带 系统测试 数字 程序

    上传时间: 2015-11-19

    上传用户:米卡

  • A system simulation environment in Matlab/Simulink of RFID is constructed in this paper. Special at

    A system simulation environment in Matlab/Simulink of RFID is constructed in this paper. Special attention is emphasized on the analog/RF circuit.Negative effects are concerned in the system model,such as phase noise of the local oscillator,TX-RX coupling,reflection of the environment, AWGN noise,DC offset,I/Q mismatch,etc.Performance of the whole system can be evaluated by changing the coding method,parameters of building blocks,and operation distance.Finally,some simulation results are presented in this paper.

    标签: environment constructed simulation Simulink

    上传时间: 2014-01-09

    上传用户:zhangliming420

  • Software Testing, Second Edition provides practical insight into the world of software testing and q

    Software Testing, Second Edition provides practical insight into the world of software testing and quality assurance. Learn how to find problems in any computer program, how to plan an effective test approach and how to tell when software is ready for release. Updated from the previous edition in 2000 to include a chapter that specifically deals with testing software for security bugs, the processes and techniques used throughout the book are timeless. This book is an excellent investment if you want to better understand what your Software Test team does or you want to write better software.

    标签: practical Software provides software

    上传时间: 2014-08-01

    上传用户:zhaiyanzhong

  • 使用RSA算法对一个数字进行加密和解密。可以自由指定p

    使用RSA算法对一个数字进行加密和解密。可以自由指定p,q的值,并且当输入数字不是素数时,程序会给出提示,或自动指定一个素数。

    标签: RSA 算法 数字 加密

    上传时间: 2014-01-13

    上传用户:gtzj

  • TI的digital motor control lib的源代码。了解TI的编程规范

    TI的digital motor control lib的源代码。了解TI的编程规范,学习2407的使用,学习Q格式,学习模块化、结构化编程的方法,学习DSP编程技巧。

    标签: digital control motor lib

    上传时间: 2013-12-24

    上传用户:wcl168881111111

  • OPT++

    OPT++,Sandia开发的一套优化工具包。可以实现经典的q-Newton等基于梯度的优化算法!

    标签: OPT

    上传时间: 2016-01-25

    上传用户:zuozuo1215

  • 三分钟学会编程

    三分钟学会编程,易学,易懂,易用,易写,易交流等等,这些都是易语言的特点。 可是最近我在网上通过Q.......

    标签: 编程

    上传时间: 2014-06-06

    上传用户:aappkkee

  • 用汇编实现的画出动画心的功能、点任意键刷新一次

    用汇编实现的画出动画心的功能、点任意键刷新一次,点q键退出

    标签: 汇编 动画

    上传时间: 2013-12-22

    上传用户:gtzj

  • 编写程序对八皇后问题进行求解:在8行8列的棋盘上放置8个皇后

    编写程序对八皇后问题进行求解:在8行8列的棋盘上放置8个皇后,使任一个皇后都不能吃掉其他的7个皇后(注:皇后可吃掉与她处于同行或同列或同一对角线上的其他棋子),并将结果以某种方式显示出来。 例如,当求出下述的一个解时,可输出如下信息来表示该解(输出了表示摆放皇后的坐标位置以及“棋盘状态”— 棋盘中有皇后的位置放一个“Q”字符,其他位置为“+”字符)。 (1,1) (5,2) (8,3) (6,4) (3,5) (7,6) (2,7) (4,8) Q + + + + + + + + + + + + + Q + + + + + Q + + + + + + + + + + Q + Q + + + + + + + + + Q + + + + + + + + + Q + + + + Q + + + + +

    标签: 编写 程序

    上传时间: 2016-02-27

    上传用户:ynwbosss