搜索资源列表
-
0下载:
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可
1.与前面所有的数不重复
2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Centra
-
-
0下载:
采用递归思想解决汉诺塔问题:详细的步骤分析,算法分析和实现。采用C++语言,可加深对递归函数的理解和应用。-Using the recursive thinking to solve Towers of Hanoi problem: detailed steps analysis, algorithm analysis and implementation. Using C++ language, can deepen the understanding and application of r
-
-
0下载:
算法分析与设计中用递归算法求汉诺塔的问题-Algorithm Analysis and Design of recursive algorithm to solve the Hanoi Tower problem
-
-
0下载:
算法分析设计之递归与分治法Algorithm Analysis and Design of recursive and divide and conquer-Algorithm Analysis and Design of recursive and divide and conquer Algorithm Analysis and Design of recursive and divide and conquer
-
-
0下载:
计算机实验室
内容:
1、分治法,maxmin算法
2、动态规划,矩阵连乘
3、贪心法,
1)背包问题,2)装载问题
4、回溯法,N皇后问题的循环结构算法和递归结构算法。-Computer laboratory content:
1, partition method, maxmin algorithm
2, the dynamic planning, LianCheng matrix
3, greedy method,
1) knapsack probl
-
-
0下载:
现代谱估计参数谱估计(AR模型)做频谱分析,基于Levison-Durbin快速递推法和Burg算法的源程序。
-Modern spectral estimation spectral estimation parameters (AR model) to do spectrum analysis, based on Levison-Durbin fast recursive method and the Burg algorithm source.
-