搜索资源列表

  1. 2

    0下载:
  2. 用回溯解背包问题 假设有n件物品,定义一个结构体a[]来存储,结构体有两个成员weight和value(weight表示重量,value表示价值)先定义一个数组col[]表示每个物品当前状态(为1表示被选,为0表示未被选),其初值全为1,从下标为0开始遍历,当前所选物品总重和总价值分别设为tw和tv(初值均为0),背包的限重设为limit,若第i个物品满足tw+a[i].weight<=limit且col[i]==1 就将a[i]
  3. 所属分类:控制台(字符窗口)编程

    • 发布日期:2024-05-17
    • 文件大小:180224
    • 提供者:STartBoy
  1. Sodoku

    0下载:
  2. 数独游戏解算C++代码,在vc6.0上运行,控制台,使用回溯法解决,首先输出的是一个满足规则的数独例子,接着可以自己输入已知点的个数及其坐标、数字(要求不能违反规则),然后会生成满足条件的一个例子。-Sudoku solver C++ Code, in vc6.0 run on the console, use backtracking to solve, first of all to meet the output is a sin
  3. 所属分类:Windows编程

    • 发布日期:2024-05-17
    • 文件大小:1345536
    • 提供者:hjj
  1. Sudoku

    0下载:
  2. 数独解法,能够解不要求回溯的数独问题,目前只支持用户自己出题。-Sudoku Solution, to the solution does not require backtracking Sudoku problem, currently only supports the user
  3. 所属分类:其他智力游戏

    • 发布日期:2024-05-17
    • 文件大小:38912
    • 提供者:法法
  1. lec26-backtracking

    0下载:
  2. 88 page of backtracking pdf in algorithms
  3. 所属分类:数学计算/工程计算

    • 发布日期:2024-05-17
    • 文件大小:234496
    • 提供者:ali
  1. DancingLinks

    0下载:
  2. 在计算机科学,舞蹈链接,也被称为的DLx ,是技术建议唐纳德克努特有效地执行其算法十算法X是递归,随意性,深度优先,回溯算法,认为所有的解决方案的确切覆盖问题。一些较为著名的确切涵盖的问题包括瓦工,n皇后问题,数独。-In computer science, Dancing Links, also known as DLX, is the technique suggested by Donald Knuth to efficientl
  3. 所属分类:Windows编程

    • 发布日期:2024-05-17
    • 文件大小:518144
    • 提供者:ucvvf
  1. qishi

    0下载:
  2. 递归算法的实例--以骑士巡游为例做的控制台程序。主要设计到了递归回溯算法-Examples of recursive algorithms- to Knight-tour of the console to do the procedure as an example. The main design to a recursive backtracking algorithm
  3. 所属分类:控制台(字符窗口)编程

    • 发布日期:2024-05-17
    • 文件大小:1024
    • 提供者:zhang
  1. Backtracking

    0下载:
  2. 回溯法,对于ACM初学者是十分有价值内部资料-Backtracking for beginners ACM is a very valuable internal information
  3. 所属分类:数学计算/工程计算

    • 发布日期:2024-05-17
    • 文件大小:19456
    • 提供者:杨静
  1. sudokusolver

    0下载:
  2. a sudoku solver can solve sudoku problems which contains one solution or no solution. using backtracking algorithm-a sudoku solver can solve solve sudoku problems which contains one solution or no solution. using backtra
  3. 所属分类:其他智力游戏

    • 发布日期:2024-05-17
    • 文件大小:1024
    • 提供者:alex
  1. jumphorse

    0下载:
  2. 解决棋盘的马从第一个位置开始跳经过每个位置,用回溯法解决-To solve the board' s horse began to jump from the first position through each location, using backtracking to solve
  3. 所属分类:其他小程序

    • 发布日期:2024-05-17
    • 文件大小:1024
    • 提供者:nathan
  1. knight

    0下载:
  2. 骑士漫游的改进算法,回溯算法加贪心选择策略,n最大可以到128-Knight improved roaming algorithms, backtracking algorithms greedy selection strategy increases, n the greatest can go to 128
  3. 所属分类:数据结构常用算法

    • 发布日期:2024-05-17
    • 文件大小:929792
    • 提供者:李珍
  1. frame

    0下载:
  2. 用回溯法解决不是很麻烦的传教士和野人问题-By backtracking to solve is not very troublesome issue of missionaries and Savage
  3. 所属分类:压缩解压

    • 发布日期:2024-05-17
    • 文件大小:2048
    • 提供者:Pudding
  1. Sudoku

    0下载:
  2. 回溯法生成数独-Backtracking generates Sudoku
  3. 所属分类:数据结构常用算法

    • 发布日期:2024-05-17
    • 文件大小:1024
    • 提供者:froser
  1. HORSE

    0下载:
  2. 回溯法的马周游问题 回溯法的马周游问题-Backtracking problem horse travel horse travel problems backtracking backtracking horse travel problems
  3. 所属分类:棋牌游戏

    • 发布日期:2024-05-17
    • 文件大小:1884160
    • 提供者:黄飞
  1. 8queens_by_MFC

    0下载:
  2. 用回溯算法MFC实现八皇后问题 不仅展示了使用Microsoft基础类的基本知识 而且也是MFC应用程序的起点 -Backtracking algorithm using MFC to achieve the eight queens problem is not only demonstrated the use of basic knowledge of Microsoft Foundation Classes MFC
  3. 所属分类:控制台(字符窗口)编程

    • 发布日期:2024-05-17
    • 文件大小:1629184
    • 提供者:姚方伟
  1. CommonAlgorithmDesign

    0下载:
  2. 常用的算法设计方法集合,主要有迭代法、穷举搜索法、递推法、贪婪法、回溯法、分治法、动态规划法-Algorithm commonly used method of collection, mainly iterative, exhaustive search methods, recursion, greedy method, backtracking, divide and conquer, dynamic programming
  3. 所属分类:其他小程序

    • 发布日期:2024-05-17
    • 文件大小:67584
    • 提供者:YuMy
  1. TSP

    0下载:
  2. 回溯法解决TSP问题,对于任何的无向图,只要存在回路均可找到,无回路也可检测出来!-Backtracking to solve TSP problem, for any undirected graph, loop as long as there can be found, no loop can be detected!
  3. 所属分类:数据结构常用算法

    • 发布日期:2024-05-17
    • 文件大小:5120
    • 提供者:Horace
  1. DesignMataboard

    0下载:
  2. 算法分析与设计 马踏棋盘的一般回溯法(要求马回到最开始的出发点).-Algorithm Analysis and Design of horse riding board' s general backtracking (required horse back to the starting point).
  3. 所属分类:其他小程序

    • 发布日期:2024-05-17
    • 文件大小:2048
    • 提供者:阿城
  1. bahuanghou

    0下载:
  2.  八皇后问题是一个古老而著名的问题,是回溯算法的典型例题。该问题是十九世纪著名的数学家高斯1850年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。-Eight queens problem is an old and well-known problem is a typical example backtracking algorithm. The pr
  3. 所属分类:书籍源码

    • 发布日期:2024-05-17
    • 文件大小:125952
    • 提供者:刘超群
  1. maze-backtracking

    0下载:
  2. 迷宫是许多小方格构成的矩形,在每个小方格中有的是墙(图中的“1”)有的是路(图中的“0”)。走迷宫就是从一个小方格沿上、下、左、右四个方向到邻近的方格,当然不能穿墙。设迷宫的入口是在左上角(1,1),出口是右下角(8,8)。根据给定的迷宫,找出一条从入口到出口的路径。 采用回溯法-Maze is composed of many small rectangular box in each small box in plenty of w
  3. 所属分类:其他小程序

    • 发布日期:2024-05-17
    • 文件大小:164864
    • 提供者:jory
  1. nqueens-recursion-backtracking-n^n

    0下载:
  2. n皇后问题的递归回溯实现, 状态数:n^n-n queens problem of recursive backtracking implementation, the number of states: n ^ n
  3. 所属分类:其他小程序

    • 发布日期:2024-05-17
    • 文件大小:221184
    • 提供者:jory
« 1 23 4 5 6 7 8 9 10 ... 40 »

源码中国 www.ymcn.org