搜索资源列表
-
0下载:
这是我平时做的一次作业,是用C++编写的一个程序,是关于图的遍历,实现对图的广度和深度遍历-This is what I usually do a job, is written in C++, a program on the graph traversal to realize the breadth and depth of the graph traversal
-
-
0下载:
这个C语言小程序旨在实现图的遍历,在其中有边界的判断,让算法实现的更加完美-C language small program designed to achieve the graph traversal, in which a judgment of the border, so the algorithm is more perfect
-
-
1下载:
本实验实现邻接表表示下无向图的广度优先遍历。
程序的输入是图的顶点序列和边序列(顶点序列以*为结束标志,边序列以-1,-1为结束标志)。程序的输出为图的邻接表和广度优先遍历序列。例如:
程序输入为:
a
b
c
d
e
f
*
0,1
0,4
1,4
1,5
2,3
2,5
3,5
-1,-1
程序的输出为:
the ALGraph is
a 4 1
b
-
-
0下载:
由c语言编程,在window下运行,为无向图,先读入两个数据,第一个数据为点的个数,第二个数据为边的个数。此后依次输入哪两个点之前连线,即完成无向图。之后程序会输出0和1,0代表不存在哈密顿回路,1代表存在哈密顿回路(Programming by C language, run under window, for undirected graph, read two data first, the first data is the number of points, the second da
-
-
3下载:
相平面法的画图包括解析法和等倾线法。我使用等倾线法,因为相平面法只使用最高二阶系统,故首先假设一个通用的二阶微分方程:X’’+aX’+bX^2+cX=0因为X’’=(dx’/dx)*(dx/dt)=X’*(dx’/dx)。
代入微分方程得:
X’*(dx’/dx)+ aX’+bX^2+cX=0.
因为斜率k=(dx’/dx)。设X’=y,则上式可化为:
k=-(b*x^2+c*x+a*y)/y
当输入任意一个x1,y1时,则可相应的确定(x1,y1)处的斜率k1,在x1加derta(程
-