搜索资源列表
min_distance
- 算法原理:对由所有绿洲以及起点/终点构成的图,运用广度搜索进行遍历, 同时动态更新图中当前遍历node以及其子节点对应的distance矩阵数据项, 遍历完毕后,distance矩阵中存储的即为各个node到起点的最佳路线距离。 -Algorithm: all the Oasis, as well as by the origin/destination consisting of maps, use to traverse the breadth of search, at t
mesh
- 本程序可以生成随机节点数mesh结构,并将节点的链路和链路权值存储为矩阵-The program can generate a random number of nodes in mesh structure, and node-link and link weights store the matrix
Matrix-addition
- 矩阵相加(三元组): 先建立稀疏矩阵的三元组存储结构。输入第一个矩阵的行数和列数和非零元素个数,并输入非零元所在位置和大小。输入第二个矩阵的非零元素个数并输入非零元所在位置和大小。然后处理这两个矩阵:若矩阵1中非零元素的行列值等于矩阵2中非零元素的行列值,只需将两非零元素相加;若矩阵1中非零元素的行列值不等于矩阵2中非零元素的行列值,分别记录其所在位置和大小。-Matrix addition (triples): First create a sparse matrix storage
tripple_matrix
- 用三元组建立两个矩阵a,b,将a矩阵转置,,然后将转置后的a矩阵与b矩阵相乘,存储到c三元组中,,输出a,b,c矩阵-Create a matrix with two triplets, b, to a matrix transpose, and the transposed matrix of a matrix multiplication with b, c triples stored in the output a, b, c matrix
ergodic
- 1) 使用邻接矩阵和邻接表储表示分别实现如下给定的图1、图2、图3所示图的物理存储结构。 2) 在1)所建立的图形存储结构上分别实现深度优先搜索遍历和广度优先搜索遍历,并给出遍历结果(序列)。 -1) Use an adjacency matrix and adjacency table represent savings realized as 1, 2, given the physical storage structure diagram shown in Figure 3. F
get_object
- 实现从一个多文件夹中获取所有xml文件的对象信息,并将之存储进一个矩阵中。-From more than a folder for all XML file object information, and will be stored in a matrix.
infeger
- 矩阵的加减乘的程序,有用整型数据存储和用十字链表两中形式实现,-Add and subtract by the application of matrix, integer data storage and in the form of a curb in table 2,
