搜索资源列表
Text3
- 利用C语言中的回溯法对图案的着色问题进行解决并检查颜色可用性生成邻接矩阵-use of the C language law back to the logo coloring problem solving and check availability of generating color adjacency matrix
disanti
- (1)自选存储结构,输入含n个顶点(用字符表示顶点名称)和e条边的图G; (2)指定任意顶点x为初始顶点,对图G作DFS遍历,输出DFS(深度优先)顶点序列(提示:使用栈实现DFS); (3)指定任意顶点x为初始顶点,对图G作BFS(广度遍历),输出BFS顶点序列(提示:使用队列实现BFS); (5)输入顶点x,查找图G:若存在含x的顶点,则删除该结点及与之相关连的边,并作DFS遍历(执行操作3);否则输出信息“不存在x”; (6)判断图G是否是连通图,输出信息“YES”/“NO
CPowerlaw_wito
- 复杂网络complex networrk 生成幂律分布的网络矩阵或者邻接矩阵 -Complex network of complex networrk generate power-law distribution of the network matrix or adjacency matrix
create_graphic
- 图的邻接矩阵的生成和操作,包括生成图,生成邻接矩阵和输出顶点数组和邻接矩阵。-The adjacency matrix generation and operation, including generating chart, generate the adjacency matrix and output array of vertices and adjacency matrix.
sampleguizewamg
- 邻接矩阵,规则网邻接矩阵 有50000个点,采用matlab生成-Adjacency matrix, adjacency matrix of the network of rules 50000 points, using Matlab generated
Dijkstra-example
- 用VC6.0开发的Dijkstra算法的三个应用实例,方法1中包含了图的生成和邻接表存储,方法2和三需要用户手动输入,用邻接矩阵存储-Dijkstra' s algorithm with VC6.0 developed three application examples, the method includes a graph adjacency table generation and storage, two and three methods require the user to
undigraph
- 随即生成的任一简单无向图G的邻接矩阵,并判断其连通性-Then generate any simple undirected graph G adjacency matrix and determine its connectivity
nw
- 小世界网络邻接矩阵生成代码,可以基于此来实现人际网路-Small-world network adjacency matrix generated code can be implemented based on this interpersonal network
3
- 1.创建一个二叉树 2.可以生成先序遍历二叉树 3.可以生成中序遍历二叉树 4.可以生成后序遍历二叉树 5.计算二叉树的结点总数和叶点数 6.可以建立无向图的邻接矩阵 7.可以生成深度优先遍历图-1. Create a binary tree 2. The first sequence can be generated traversing binary tree 3. Can be generated in order traversing binary tre
shuangcengwangluo
- 可以生成一个随机的邻接矩阵哦哦哦哦哦哦哦哦哦哦哦(A random adjacency matrix can be generated)
新建文本文档
- 最短路径算法,/邻接矩阵法图的生成函数的最短路径算法,并生成打印图的结点标识符和邻接矩阵(The shortest path algorithm to generate the adjacency matrix of the graph function, and generate the node identifier and the adjacency matrix print map)
irogramprint
- 对任意给定的网络顶点数和边数自定,建立它的邻接矩阵并输出,然后利用Prim算法或Kruskal算法生成它的最小生成树,()
图的生成
- 设计无向网的图文件格式,读取图文件,生成基于邻接矩阵和邻接表的无向网,并将邻接矩阵表示法和邻接表表示法相互转换。(The graph file format of the undirected network is designed, the graph files are read, the undirected network based on the adjacency matrix and the adjacency table is generated, and the adjacen
robot_sweeper
- 电子科技大学,数学学院,本科二年级,数学实验课程作业:扫地机器人的路径规划问题 实验是内容是规划并利用MATLAB模拟扫地机器人的清扫路径,并与随机游走的清扫方式做对比 编程思路: 规定扫地机器人的尺寸为1×1的网格,地图尺寸为20×15(参数可修改),在利用矩阵Tag储存障碍物信息(障碍物标1,非障碍物标0),barrier_generate函数随即生成障碍物 路径规划考虑采用深度优先搜索算法,根据标记矩阵Tag的信息,找到网格之间可达性关系,建立图的邻接压缩表,深度优先搜索求出路径(深度