-
asp 初学者必用。 内容简单易懂,事例多多。 包括数据库的连接和操作。/...
asp 初学者必用。 内容简单易懂,事例多多。 包括数据库的连接和操作。/-asp beginners will use. As simple and understandable, many examples. Database connectivity and operation. /
- 2022-02-07 15:18:37下载
- 积分:1
-
此程序为潮流计算的PQ分解程序,也是潮流程序中一部分。
此程序为潮流计算的PQ分解程序,也是潮流程序中一部分。-This program for the power flow calculation of the PQ decomposition process, is also a part of the trend of the program.
- 2023-03-03 00:45:03下载
- 积分:1
-
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路...
[输入]
图的顶点个数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
int number //队列类型
typedef struct{
int q[20]
-[imported] map of the number of vertices N, Vertex map of the relationship between the starting point and end point A and B [output] if A to B without path then exporting "There is no path" Otherwise output A to B on the path vertices [storage structure] plan adopted adjacency matrix of storage. [Algorithm for the basic idea] BFS way from the vertex A, A visit followed with adjacent vertices VA1, VA2 ,..., VAK, visiting times, if not visit B, continue to visit with the VA1 adjacent vertices VA11, VA12 ,..., VA1M. VA2 and then
- 2022-01-25 22:50:29下载
- 积分:1
-
boost库中 mem_fun使用实例 注意要有boost库才能编译
boost库中 mem_fun使用实例 注意要有boost库才能编译-boost library mem_fun attention to the use of examples can be compiled for boost
- 2022-06-21 04:21:09下载
- 积分:1
-
raycast仿3d场景实例,gba平台,使用arm
raycast仿3d场景实例,gba平台,使用arm-gcc或armsdt编译-raycast imitation 3d scenes example, DS platform, the use of arm-gcc compiler or armsdt
- 2023-04-28 13:35:03下载
- 积分:1
-
交互式画图的应用例子! 希望可以供大家学习
交互式画图的应用例子! 希望可以供大家学习-interactive drawing application example! Hope everyone can learn
- 2022-10-04 05:10:03下载
- 积分:1
-
small showing the correct color values
小型正确显示各种颜色的数值-small showing the correct color values
- 2022-07-09 12:45:22下载
- 积分:1
-
c class code
c语言学习的经典代码,c语言实例解析精粹书的配套代码。目录清单如下:第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个质数 016 编制万年历 017 对数组元素排序 018 任意进制数的转换 019 判断回文数 020 求数组前n元素之和 021 求解钢材切割的最佳订单 022 通过指针比较整数大小 023 指向数组的指针 024 寻找指定元素的指针 025 寻找相同元素的指针 026 阿拉伯数字转换为罗马数字 027 字符替换 028 从键盘读入实数 029 字符行排版 030 字符排列 031 判断字符串是否回文&
- 2022-03-10 23:24:00下载
- 积分:1
-
连动报警录象程序及其说明
连动报警录象程序及其说明-Alarm linked video program and its description
- 2022-11-21 10:40:03下载
- 积分:1
-
这是我收集基于tinyos实现的IEEE.802.15.4协议,希望能帮助大家
这是我收集基于tinyos实现的IEEE.802.15.4协议,希望能帮助大家-This is my collection of tinyos based implementation IEEE.802.15.4, we hope that can help you
- 2022-03-17 23:10:45下载
- 积分:1