搜索资源列表
-
0下载:
名称叫做多边形游戏,是算法设计技巧与分析中经常会遇到的一类问题,主要是由贪心法来解决-Name of the game called the polygon is algorithm design techniques and analysis of a class of frequently encountered problems, mainly by the greedy method to solve
-
-
0下载:
基于向量实现的AStar算法,给出了原理分析和必要注释,已经测试通过。-AStar vector-based algorithm to achieve, given the principle of analysis and notes the need to have the test.
-
-
0下载:
编写程序,可以实现m*n矩阵和n*p矩阵相乘。m,n,p均小于10,矩阵元素为整数。
分析:
首先我们可以根据题意写出函数头。可以定为void MatrixMutiply(int m,int n,int p,long lMatrix1[MAX][MAX],long lMatrix2[MAX][MAX],long lMatrixResult[MAX][MAX]),其中lMatrix1和lMatrix2分别是输入的m*n矩阵和n*p矩阵,lMatrixResult是输出的m*p矩阵。
因
-
-
1下载:
石头,剪刀,布:设计一个游戏,让用户与计算机玩“石头,剪刀,布”游戏,要求:
程序能够统计玩的次数以及每一次的结果,说明是谁赢了,还是平了;
计算机出牌的最简单的方法是随机算法,请尝试考虑能不能设置一种分析用户出牌规律的算法,让计算机能够赢用户的几率大于50 。
-Rock, scissors, cloth: to design a game, let the user and the computer to play stone, scisso
-
-
0下载:
A fluid manifold learning algorithm (good use), Achieve canonical correlation analysis, It draws on principal component analysis algorithm (PCA).
-
-
0下载:
猜数字游戏
能够随机出现十以内的数字
。。。。。(In this paper, the multi-objective structural optimization design of torque converter is introduced with the application of genetic algorithm. The main optimization criteria are torque ratio, efficiency, permeability and a
-