搜索资源列表
用回溯法和栈求解迷宫问题
- 用回溯法和栈求解迷宫问题-with retroactive law and stack maze solving problems
回溯法
- 用回溯法求马周游问题,马在棋盘上走字步,从马开始的位置开始周游棋盘,遍历全棋盘后回到起点,是否可行,可行的就输出路径,路径并输入尝试过的路径数,跳过的路径数-law with retrospective travel for Ma, Ma on the chessboard characters step away from the start position Ma started to travel around the chess
小规模的数据用回溯法求最短路径
- 本程序给出了小规模的数据,运用回溯法求解最优路径,处理垃圾处理问题
字符串全排列
- 用回溯法实现字符串全排列
最大团问题
- 用回溯法实现最大团问题-with retroactive law to achieve the greatest problem Mission
回溯法
- 用回溯法求马周游问题,马在棋盘上走字步,从马开始的位置开始周游棋盘,遍历全棋盘后回到起点,是否可行,可行的就输出路径,路径并输入尝试过的路径数,跳过的路径数-law with retrospective travel for Ma, Ma on the chessboard characters step away from the start position Ma started to travel around the chess
hamilton9901
- 给定一个n个结点的连通图,用回溯法求出图中含有的所有哈密尔顿环。包含实验报告。 -given a n nodes in a graph, with retrospective method, the map contains all the Hamilton Central. The report contains experiments.
chinahorse
- 如果車不動,請設計算法:按馬走日的方法但又不能被車吃掉,用回溯法設計馬的走法,並打印出路程.可以做為軟體設計的參考-If the car does not move, please algorithm design : taking Japan by Ma but the car can not be eaten, Design Retrospective with a horse walk, and print out distanc
RaidersotheLostArk
- 福建师范大学第三届程序设计比赛中的一道试题.用回溯法解决.-third Fujian Normal University Design Competition of an item. With retroactive law.
8queen
- vb平台下用回溯法求解n皇后问题,只输出一种结果-vb platform using retrospective method n Queen s problems, only a result of output
NQueenTree
- 用回溯法解决N皇后问题,并用树来显示整个问题的状态空间-Using backtracking to solve N Queen s problem and used the tree to display the whole issue of state-space
beibao
- 用回溯法求解0-1背包问题 用vc++实现 包含完整源代码 经过测试成功!-Retrospective method with 0-1 knapsack problem with vc++ Achieve that contains a complete source code has been tested successfully!
Loading
- 用回溯法求解装载问题,对有解的装载问题,采用的策略可以得到最优装载方案 (1)首先将第一艘轮船尽可能装满; (2)然后将剩余的集装箱装上第二艘轮船-With back problems loading method, loading of the solvability problem, using the optimal strategy can be loaded with the program (1) First of
Knapsack
- 我自己做的一个0-1背包问题程序 用回溯法 做的 望大家分享 请指正-I own a 0-1 knapsack problem with retroactive law procedures do hope to share, please correct me
map4
- 用回溯法解决四色图问题,内有实验报告,源代码,以及程序说明的文件 和可执行的exe文件-err
Queue
- 用回溯法实现n皇后问题,c++语言编写,调试通过。包含代码和完整文档说明-By backtracking the question of the realization of n queen, c++ languages, debugging through
WorkAssignment
- 算法设计与分析中,用回溯法解决工作分配问题,有较详细的源码解析。-Algorithm design and analysis, the distribution of work by backtracking to solve the problem, there is a more detailed source code analysis.
beibaowenti
- 算法实验C++编程用回溯法解决01背包问题-Experimental C++ programming algorithm with backtracking to solve 01 backpack
0_1bag
- 此程序是用回溯法解决01背包问题,可以运行成功,欢迎下载-This program is backtracking to solve 01 knapsack problem, you can run successfully, please download
栈
- 从1楼到2楼有h级台阶,某同学上楼的习惯是一次上1级或2级,写一算法输出该同学上这h级台阶时的所有不同的上法,用回溯法实现,开辟堆栈保存上楼方法(From the 1 floor to the 2 floor H steps, a classmate upstairs is a habit of 1 or 2, write an algorithm to the output of the students on the H level