搜索资源列表
Desktop
- n queens problem which can print the chess board pattern
EightQueens
- 利用C#语言实现的八皇后问题。只有8*8的棋盘形式,可以输入皇后摆放的位置-This program is used by c#,which called eight-queen .It can show every situation about the able place to put the queen.But there is a disadvantage that it is set only 8*8 chess .
KnightTour
- 骑士周游问题,国际象棋中骑士走遍所有的格子,而且不重复的走法。尝试算法。-Knight tour problem, the international chess knights traveled in all of the lattice, and not repeat the moves. Try algorithm.
n-queen
- N-queen soluotion. Print into screen the the solution of queen in the chess board
Hamilton
- 8*8 的国际象棋棋盘上的一只马,恰好走过除起点外的其它 63 个位置各一次,最后回 到起点。这条路线称为一条马的 Hamilton 周游路线。对于给定的 m*n 的国际象棋棋盘,m 和n均为大于5的偶数,且|m-n|≤2,试设计一个分治算法找出一条马的Hamilton周游路线。 编程任务: 对于给定的偶数m,n≥6,且|m-n|≤2,编程计算 m*n 的国际象棋棋盘一条马的Hamilton 周游路线。 Input 输入数据的第一行有2
code
- 天马行空(马走日字不重复地走完整张N*N棋盘)求解算法-This is the algorithm which can let the horse go all over the chess board without repeating.
eight-queen
- 著名的八皇后问题,是回溯算法的典型例题。该问题是19世纪著名的数学家高斯1850年提出:在8*8格的国际象棋上摆放8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。-The famous Eight Queens problem, backtracking algorithm is a typical example. The problem is the famous 19th century mathematician Gauss 1850: U
knight
- 在n行n列的棋盘上(如n=5),假设一位骑士(按象棋中“马走日”的行走法)从初始坐标位置(x1,y1)出发,要遍访(巡游)棋盘中的每一个位置一次。请编一个程序,为骑士求解巡游“路线图”(或告诉骑士,从某位置出发时,无法遍访整个棋盘 — 问题无解)。-In the n-n chessboard (for example, n = 5), assuming a knight (in chess in the " horse to go on" walk method) from t
5
- 围棋打谱程序,接受用户输入坐标,保存棋谱并一手一手显示-Go fight spectrum, accept user input coordinates, save chess and first-hand first-hand display
chess
- 实现棋盘覆盖的功能,是基于C的棋盘算法代码,可以-Board covering the function, the board of C-based algorithm code, you can see
knight2
- 8*8的国际象棋棋盘上的一只马,恰好走过除起点外的其它63个位置各一次,最后回到起点,这条线路成为马的一条Hamilton周游路线-8* 8 chess board on a horse, just walked the other outside the starting point of the 63 position each time, and finally back to the starting point, the lines become a horse of a Hamilt
the-horse-working-in-the-chass
- 实现马踏棋盘的功能。 输入:马的初始位置。 输出:马踏棋盘的路径。利用贪心算法+回朔算法实现!可以产生全部可能的路径!而且可以可视化的输出动态行走路径!-implementation of the horse working in the chess.
KnightTour
- 骑士巡游问题的算法。骑士巡游的问题简述如下:在国际象棋攀上某一位置放置一个马的棋子,然后采用象棋中“马走日字”股则,要求这匹马能不重复地走完25个格子。本实例用枚举方法求解骑士巡游问题。程序可自定义棋盘的大小,先输出标志矩阵,然后输入骑士在棋盘的初始位置,即可给出其中的一种解法。-Knight Parade algorithm problem. Knight Parade problems are summarized as follows: Place a horse chess piece
arithmetic
- 压缩文件主要包含是10道算法编程题:强盗分赃,区间相交问题,取数对弈,删除问题,统计你序对,整除15,整数因子分解,最优自然数,最长公共子串。 里面每道题都是.txt,包含了题目具体的描述及源码实现。程序实现是在vc6.0完成编译通过。-Zip file mainly contains programming algorithm is 10 questions: robbers spoils, interval intersection problem, take the number of c
queenList1
- 八皇后问题最早是由国际西洋棋棋手马克斯·贝瑟尔于1848年提出。之后陆续有数学家对其进行研究,其中包括高斯和康托,并且将其推广为更一般的n皇后摆放问题。八皇后问题的第一个解是在1850年由弗朗兹·诺克给出的。诺克也是首先将问题推广到更一般的n皇后摆放问题的人之一。1874年,S.冈德尔提出了一个通过行列式来求解的方法,这个方法后来又被J.W.L.格莱舍加以改进。-Eight queens problem was first proposed by the International Chess
primer
- 一个小的代码:// stack堆栈中保留两个数据(皇后所在的行和列),总共有八个皇后 // 住要特别注意入栈和出栈的顺序。 最后输出计算的结果。-The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other. Thus, a solution requires that no
chess
- c语言,用A*算法求取重排九宫图问题 ,还有相关介绍-c language, with A* algorithm to strike a rearrangement JiuGongTu graph problems, as well as related presentations
TicTacToc
- 基于强化学习的三子棋程序,通过学习,人机对战时电脑可立于不败之地。(Learning by reinforcement learning based on man-machine chess program, computer can be in an invincible position in wartime.)
xiangqi
- 象棋的人工实现,机器人下象棋,python实现智能象棋(chess Artificial realization of chess, robot chess, and intelligent chess by Python)
