搜索资源列表
mapColour_JJCH
- 地图染色问题,邻接矩阵从文件读入,但不会写文件去。-map coloring, the adjacency matrix from the document read, but not write to document.
Cchangyongsuanfa
- C常用算法程序集 针对工程上常用的行之有效的算法而编写的C语言函数程序集,在第一版的基础上作了修改和扩充。书中包括了近几年出现的许多新算法。全书分为数值计算与非数值计算两部分。其中数值计算部分的内容包括:线性代数方程组的求解、矩阵运算、矩阵特征值与特征向量的计算、非线性方程与方程组的求解、插值、数值积分、常微分方程(组)的求解、拟合与逼近、数据处理与回归分析、极值问题、数学变换与滤波、特殊函数、随机数的产生、多项式与连分式函数的计算、复数运算;非数值计算部分的内容包括:排序、查找、图形模式下
readtext
- 读入一个文本数据,转换成矩阵。 -Reading into a text data, conversion into a matrix.
shortpath
- 1、读入城市结点数据 */ /* 2、邻接矩阵初始化:所有元素赋Infinity, */ /* 对角线元素赋0 */ /* 3、读入城市间边的数据,转换为邻接矩阵的数据 */ /* 4、路径矩阵初始化,若arc[i][j]<Infinity, */ /* 则: at[i][j]=i 否则:Path[i][j]=-1 */ /* 5、计算最短路径 */ /* 6、保存最小路径数据-1, read into the city node data*/
fangcheng
- 解N元一次方程,从文件读入整数 N, 然后读入N*( N+1)矩阵,得到解并输出到文件中。-Solution of N-linear equation, reading from a file into an integer N, and then read into the N* (N+1) matrix obtained solution and the output to a file.
AutoMaze
- 此迷宫实现从键盘读入矩阵迷宫地图 然后输出任一条可走出路径 若无可走通路径 则输出error-This labyrinth from a maze map the keyboard and then read into the matrix may be out of the path of the output of any one to go through the path without the output error
87715470number
- 这个是C语言从文件读入整数 N, 然后读入N*( N+1)矩阵,得到解并输出到文件中。-This is read from the file into the C language integer N, and then read into the N* (N+1) matrix, the solution and get the output to a file.
paixu
- 从一个数据文件中读入数据,形成字符串矩阵,对其的左半部分进行升序排序,右半部分降序排序。-Read from a data file into the data to form a string matrix, its left part of the ascending, descending order the right part.
daima
- C++实现矩阵的一些基本运算,非常好用,VC ++读入编译即可。-matrix calculation for VC++
graph(linjiejuzhen)
- 基于C++模板,用邻接矩阵的方式,实现了基本的Graph(map)的构建,并实现了深度优先搜索和广度优先搜索,同时加入了测试用的数据读入和写入函数,便于调试和在本代码基础上进行进一步扩充。-Based on C++ templates, adjacency matrix, enabling a basic Graph (map) to build and achieve a depth-first search and breadth-first search, also joined the
mat
- 从文件读入一个矩阵,然后求矩阵的转置和矩阵的逆-matrix transpose and matrix inverse
Visit-system
- 实现功能:1,从文件读入景点信息道路信息,然后用邻接表建立校园图,用邻接矩阵存放边的信息。 2,查看景点信息,道路信息。 3,查找两点之间最短路径,采用弗洛依德算法。 4,采用深度优先递归调用的方法遍利图。-Functions: 1, read from the file into the attractions road information and the establishment of the campus map, and then use the adjacency l
maze
- 完成迷宫程序的设计 从maze.txt文件读入迷宫。格式如下: 其中第一行为迷宫的阶数N,接下来是一个N*N的矩阵代表迷宫,0为路径,1为 障碍物。 实验要求 : 1. 打印迷宫: DisplayMaze()或者重载<< 其中(1,0)位置和(N-2,N-1)位置打印“=>,其余的1的位置打印“##”,0的位置 打印“ ”(两个空格),注意每个位置都是两个字符。 打印示例: 2. 寻找走出迷宫的路径并输出 FindPath() 输出格式为
shudebianli
- (1)将图的信息建立文件; (2)从文件读入图的信息,建立邻接矩阵和邻接表; (3)实现Prim、Kruskal、Dijkstra和拓扑排序算法。 -Will map the information to create documents
xishu
- 十字链表法 程序一开始, 读入一个稀疏矩阵 A 计算 A 矩阵的转置, 得到矩阵 B, 打印 B 矩阵 计算 A+B 的得到一个新矩阵 C, 打印 C 矩阵 计算 A*B 矩阵得到一个新矩阵 D, 打印 D 矩阵-Cross-linked law program started, reads a sparse matrix A computing A matrix transpose obtain matrix B