搜索资源列表
optimizebackpack
- 背包问题c算法实现,利用回溯法实现的背包问题详解,内附源代码即详细注解,以及一些优化的思想,很容易理解,是一个很好的算法,通过调试,可以运行。-knapsack problem c algorithm, using the retrospective method to achieve Hi knapsack problem, the source code that contains detailed notes, and some optimization thinking, it is e
_QUEENS
- 八皇后程序:回溯法寻找N规模的皇后可能分配-8 : backtracking N-scale search for the Queen's possible allocation
回溯法
- 用回溯法求马周游问题,马在棋盘上走字步,从马开始的位置开始周游棋盘,遍历全棋盘后回到起点,是否可行,可行的就输出路径,路径并输入尝试过的路径数,跳过的路径数-law with retrospective travel for Ma, Ma on the chessboard characters step away from the start position Ma started to travel around the chessboard, traverse the whole ches
bags
- 四种算法(动态规划、回溯法、分支限界法、贪心法)实现0-1背包问题-four algorithms including dynamic planningm,tracing,branch and bound method and greedy to implement 0-1 bag problem.
16-queens
- 16(N)皇后问题,用回溯法和位运算结合编程,在效率上有很大的改进-16 (N) queens problem using backtracking and bitwise combination of programming, a great improvement on the efficiency
1001
- 利用回溯法实现的迷宫求解问题,算法效率高-Maze Solving
huisufa
- 回溯法的具体代码。可供大家学习使用。亲测,无误。-huisu code