登录
首页 » Windows开发 » 用回溯法求解KnightTour问题 【KnightTour问题】在一个8×8的棋盘上,检验以某一位置作为出发点的棋子能否遍历一次棋盘上的所有棋格,且最后回...

用回溯法求解KnightTour问题 【KnightTour问题】在一个8×8的棋盘上,检验以某一位置作为出发点的棋子能否遍历一次棋盘上的所有棋格,且最后回...

于 2022-03-12 发布 文件大小:80.00 kB
0 184
下载积分: 2 下载次数: 1

代码说明:

用回溯法求解KnightTour问题 【KnightTour问题】在一个8×8的棋盘上,检验以某一位置作为出发点的棋子能否遍历一次棋盘上的所有棋格,且最后回到出发点。(备注:棋子每次只能沿东、南、西、北、东南、西南、东北、西北方向走一步!!)-Method with back issues KnightTour】 【KnightTour issues in a 8 × 8 chessboard, the examination for the position as the starting point of a piece of a chessboard can traverse all the chess grid, and the final return to the starting point. (Note: each piece can only be along the east, south, west, north, southeast, southwest, northeast, northwest direction step!!)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 到中国的农历日历公历
    使用系统 ;使用 System.Drawing ;使用 System.Globalization ;使用 System.Windows.Forms ;命名空间 WinFormLunar 是{公共部分类 FormLunar: 窗体{# 区域私人只读字符串动物、 甘志 ;私人的 TextBox txtLunar ;私人的 DateTimePicker lunarPicker ;私人的 ChineseLunisolarCalendar lunarCalendar ;# Endregion 公共的 FormLunar){# 区域隐藏 () ;甘 ="B、 C、 D、 E 和 F 耿仁桂";芷 ="Zichou 毛贤陈寺吴申徐海";动物 = 大鼠牛虎兔子龙蛇马羊猴 Jigou 猪 ;Application.CurrentCulture = CultureInfo.GetCultureInfo ("zh-CN") ;/ / 中国地区。lunarCalendar = 新的 ChineseLunisolarCalendar () ;/ / 中国阴阳历。txtLunar = 新的文本框) ;txtLunar.Dock = DockStyle.Bottom ;txtLunar.ReadOnly = true ;/ / 只读模式。这。Controls.Add (txtLunar) ;lunarPicker = 新的 DateTimePicker () ;lunarPicker.Dock = DockStyle.Top ;lunarPicker.Format = DateTimePickerFormat.Custom ;/ / 自定义格式。lunarPicker.CustomFormat ="dddd yyyy "years" M "January "d "day" ;
    2022-02-13 07:36:19下载
    积分:1
  • 自由曲面分析C++代码
    为将测量坐标系匹配到CAD坐标系,研究了自由曲面检测中被测曲面和设计曲面的匹配方法,提出了多级匹配策略.首先进行曲面的粗匹配,使实测曲面和设计曲面保持大致相同的位置和姿态,即先定义曲面中心,然后搜索4个角点,通过这5个点的匹配实现粗定位.接着在粗定位的基础上进行精定位,通过对目标函数的变形,提出了一种新的方法来完成对位姿关系的求解.最后通过一个自由曲面的仿真实验,验证了方法的有效性.
    2023-06-02 21:05:04下载
    积分:1
  • 这是一个linux shell bash 源码,用C++编写。
    这是一个linux shell bash 源码,用C++编写。-failed to translate
    2022-02-04 00:04:47下载
    积分:1
  • 指纹识别系统设计时提出的一种基于方向图的指纹识别设计的一段程序...
    指纹识别系统设计时提出的一种基于方向图的指纹识别设计的一段程序-Fingerprint Identification System to design a pattern based on the design of the fingerprint identification process for some
    2023-03-30 04:35:02下载
    积分:1
  • 基于三星2440串口的简单测试程序,可以进行接收和送的检测
    基于三星2440串口的简单测试程序,可以进行接收和发送的检测-Samsung Serial simple test procedure can receive and send Detection
    2022-03-21 22:55:22下载
    积分:1
  • WinCE上的图片浏览器,速度快,效果好
    WinCE上的图片浏览器,速度快,效果好-WinCE image on the browser, fast, effective
    2022-01-26 02:34:44下载
    积分:1
  • the process of java book detail of text to jar, there are detail address of soft...
    the process of java book detail of text to jar, there are detail address of software and tools.
    2022-03-07 16:09:04下载
    积分:1
  • this procedure designed vending machine sales only two canned cola, both at 15 y...
    此程序设计的自动售货机只销售两种罐装可乐,售价均为15元。顾客可以由两个不同投币孔分别投入3个五元硬币或2个10元硬币。一次交易只能买一罐,且自动找零。只要按下取消键就会马上无条件退币。-this procedure designed vending machine sales only two canned cola, both at 15 yuan. Customers can from two different coin Kong spent three five yuan coins or two ten-dollar coins. A transaction can only buy and Automation Change. As pressing a button will be abolished immediately and unconditionally coin.
    2022-01-25 20:45:18下载
    积分:1
  • 一个很简单的小游戏
    一个很简单的小游戏-a very simple little game
    2022-08-16 20:38:51下载
    积分:1
  • Z再这里不能显示界面,所以我把界面的用法简单介绍下。(1)、此界面可以分为左右两部分,右边为数据的输入区域,左边为数据的显示和获得区域。本系统数据的输入和获得都
    Z再这里不能显示界面,所以我把界面的用法简单介绍下。(1)、此界面可以分为左右两部分,右边为数据的输入区域,左边为数据的显示和获得区域。本系统数据的输入和获得都是靠滚动条来完成的。在输入区域内,当拖动滚动条时,在滚动条的下方会显示相应的数据,以便用户了解准确的信息。如下图所示,指数为10,采用点数为1024,采样周期为0.050秒。图中数据显示范围有限制,但可以通过在程序中改变设定的值得到想要的数据范围。(2)、在数据输入完成后,拖动左边的滚动条可以得到分析的图像,其中上边显示的是实部的图像,下边显示的是虚部的图像。需要注意的是,当对图像不满意时,必须点击“图形刷新”按钮,重新输入数据。(3)得到满意的图像后,点击“数据获取”或“数据打开”按钮都可以获得相应的数据文件。-err
    2022-07-05 08:57:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载