文件名称:wanshell
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:991byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
warshall法顺序:置新矩阵,开始运算;置i=1;对所有j如果A[j,i]=1,则对k=1,2,3……n运算啊A[j,k]:=A[j,k]+A[i,k];
i++;如果i<=n转上继续
需要:
1.输入矩阵,用二维数组,可以考虑全局变量
2.设置矩阵最大值nMax
3.对i从0到n-1循环,寻找每列为1的项,为1则继续运算,否则返回
增强说明:
1.输入方式选择,同时可以选择是否继续运算
2.不再每行确认,增加修改选项
3.使用字符串数组,可直接输出得到的结果-warshall law order: a new matrix set to begin operation set i = 1 for all j if A [j, i] = 1, then for k = 1,2,3 ... ... n operation ah A [j, k]: = A [j, k]+ A [i, k] i++ if i < = n turn on the continuing need: 1. Enter the Matrix, with two-dimensional array, we can consider global variables 2. set matrix maximum nMax 3. for i from 0 to n-1 loop, as 1 per item to find, as a continuing operation, otherwise enhance: 1. input choice and can choose whether to continue operations 2. not confirm each line to increase modified option 3. use an array of strings, the result can be directly output
i++;如果i<=n转上继续
需要:
1.输入矩阵,用二维数组,可以考虑全局变量
2.设置矩阵最大值nMax
3.对i从0到n-1循环,寻找每列为1的项,为1则继续运算,否则返回
增强说明:
1.输入方式选择,同时可以选择是否继续运算
2.不再每行确认,增加修改选项
3.使用字符串数组,可直接输出得到的结果-warshall law order: a new matrix set to begin operation set i = 1 for all j if A [j, i] = 1, then for k = 1,2,3 ... ... n operation ah A [j, k]: = A [j, k]+ A [i, k] i++ if i < = n turn on the continuing need: 1. Enter the Matrix, with two-dimensional array, we can consider global variables 2. set matrix maximum nMax 3. for i from 0 to n-1 loop, as 1 per item to find, as a continuing operation, otherwise enhance: 1. input choice and can choose whether to continue operations 2. not confirm each line to increase modified option 3. use an array of strings, the result can be directly output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wanshell.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.