-
Unbalance_3phase low voltage
this is simulink file of 3 phase low voltage unbalance grid
- 2019-05-23 17:25:35下载
- 积分: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
-
C#实现对数字的加密
C#实现对数字的加密,这是一个源代码例子,对阿拉伯数字加密,比如可把“123”加密成不可读的特殊字符。在代码中:KeyValue值:录入键区0~9 48~57 数字键区0~9 96~105, End键的KeyValue值:35,并定义了相关的快捷键:如果用户按下了〈Ctrl〉+〈Shift〉+〈End〉组合键,则直接退出,录入键区的“1”与数字键区的“1”共享同一操作。。
- 2022-10-07 01:55:03下载
- 积分:1
-
AM
说明: 对信号进行AM调制,加噪声后带通滤波并解调(AM Modulation and Demodulation of Signals)
- 2019-01-11 19:46:37下载
- 积分:1
-
OPNET无线网络仿真实例
说明: opnet无线网络仿真的一些码源,分享和大家交流学习下(Some code sources of OPNET wireless network simulation)
- 2021-02-21 14:29:42下载
- 积分:1
-
matlab实现三维重建
说明: matlab上的三维重建教程,适合新手学习(Three dimensional reconstruction course on MATLAB, suitable for novice learning)
- 2020-04-21 10:28:29下载
- 积分:1
-
stack
说明: 实验题目:5.1 基于顺序栈的括号匹配程序设计验证
一、实验目的
1. 掌握栈的顺序存储结构;
2. 掌握栈的操作特性;
3. 掌握基于顺序栈的基本操作的实现方法。
二、实验内容
1. 实现顺序栈的成员函数;
2. 基于顺序栈的括号匹配程序设计验证。
实验题目:5.2 基于链式栈的表达式的计算程序设计验证
一、实验目的
1. 掌握栈的链式存储结构;
2. 掌握栈的操作特性;
3. 掌握基于链式栈的基本操作的实现方法。
二、实验内容
1. 实现链式栈的成员函数;
2. 基于链式栈的表达式的计算程序设计。
(Experiment Title: 5.1 Based on the order of the stack in parentheses matching program design verification
1, experimental purposes
1. To master the order of the stack storage structure
2. Master stack operating characteristic
3. To master the basic operation of stack based on the order of the realization method.
Second, experimental content
1. To achieve the order of the stack member function
2. Based on the order of the stack in parentheses matching program design verification.
Experiment Title: 5.2 Based on the expression stack chain calculation program design verification
1, experimental purposes
1. Master stack chain storage structure
2. Master stack operating characteristic
3. To master the basic operation of stack-based chain implementations.
Second, experimental content
1. To achieve chain stack member function
2. Based on the calculation of the expression stack chain programming)
- 2010-03-25 18:33:30下载
- 积分:1
-
test1
说明: Lammps tutorial for anyone who need to use lammps
- 2020-04-23 13:15:23下载
- 积分:1
-
Guideline_for_360_panoramic_camera_
360 camera guide line
- 2018-10-23 13:24:20下载
- 积分:1
-
电除尘行业中监控界面采用ACTIVE 控件的形式,直接和下方被监控的控制单元通信,完成数据显示,报警和打印,...
电除尘行业中监控界面采用ACTIVE 控件的形式,直接和下方被监控的控制单元通信,完成数据显示,报警和打印,-ESP monitoring interface using industry ACTIVE form of control, direct and the bottom of the control unit has been monitoring communications, complete data, alarm and printing,
- 2022-09-16 02:35:04下载
- 积分:1