登录
首页 » 算法 » c++自动生成解迷宫

c++自动生成解迷宫

于 2022-08-11 发布 文件大小:356.97 kB
0 149
下载积分: 2 下载次数: 1

代码说明:

用相交集的方法自动生成任意大小的迷宫,并自动求解出迷宫的答案。用到了数据结构中相交集的知识,并能够自动绘图,保存迷宫图,能够给出求解路径。

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

发表评论

0 个回复

  • 解决约瑟夫环问题
    using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 实战_使用数组解决约瑟夫环问题 {     class Program     {         static void Main(string[] args)         {             int[] intPers = Jose(12, 3, 4);             Console.WriteLine
    2023-06-26 06:40:03下载
    积分:1
  • Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors fo...
    用雅可比法求实对称阵的特征值与特征向量 例子中为3阶矩阵-Jacobi method with realistic symmetric matrix of eigenvalues and eigenvectors for the case of 3-order matrix
    2022-03-11 23:53:46下载
    积分:1
  • 独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 1111...
    独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下:    111    111    111 111111111 111101111 111111111    111    111    111 其中,0表示没有放置棋子, 1表示放置。 规定走法如下: a. 任一棋子可越过一相邻棋子(紧相邻)跳到一空缺位置, 并吃掉越过的棋子(从棋盘移处) 如, 走一步后棋盘状态:    111    111    111 111111111 111110011 111111111    111    111    111 b. 最后只留下一个棋子在棋盘上, 并且位置在正中央。 要求: 用程序得出正确走法。 输入: 无 输出: 每一步移动后的棋盘状态, 格式如上。-independent diamond chess Problem description : a chessboard, there are 44 pieces of diamonds, a position vacant chessboard initial state as follows : 111111111 111101111 111111111 which, 0 no place pawn, a place said. Provisions in law are as follows : a. as a pawn to be crossed an adjacent piece (bear adjacent) jumped to a vacant position, and eaten across the pawn (shift from the chessboard) If, after the chessboard go one step further state : 111111111 111111111 111110011 111111111 111111111 b. leaving only a game son on the chessboard, and in the middle position. Requirements : getting the correct procedures in law. Input : None output : e
    2023-01-15 08:55:03下载
    积分:1
  • 数值分析中的高斯消去解方程组问题,含输入输出界面。
    数值分析中的高斯消去法解方程组问题,含输入输出界面。-Numerical analysis of Gaussian elimination solution of the problem equations, including input and output interface.
    2022-07-04 00:10:45下载
    积分:1
  • 塔勒除雾
    基于fattal 的去雾算法修改而来去雾气算法,原始算法来源于  Single image dehazing这篇论文,代码中也附带了这篇论文,做去雾的朋友可以学习下。
    2022-12-11 15:10:04下载
    积分:1
  • 非Steffensen方
    Steffensen method for non-linear equations in C
    2022-08-20 07:16:26下载
    积分:1
  • 任意合数分解成质数的程序
    任意合数分解成质数的程序-Arbitrary composite number into prime number of procedures
    2022-09-10 21:15:03下载
    积分:1
  • 解码粗糙
    此文件术最解决方案为 DECRIPTATION 粗糙 ALGHORITM主要 VOTRE CONSEIL DE 接待 portail 自动学与 PIC 12F629
    2022-08-18 23:56:36下载
    积分:1
  • 机模拟中的数值,对于牛顿运动方程
    计算机模拟中的数值算法,对于牛顿运动方程-Summary on Some Numerical Methods for Newton’s Equation of Motion
    2023-03-15 20:55:03下载
    积分:1
  • delphi适应的OPC控件
    本人一直使用高控件,由于使用了标准的工业接口---OPC,对于硬件的要求非常灵活,可以连接众多的PLC等智能设备。另外,不要程序员自己对于繁琐的通讯协议,更不需要书写太多的通讯代码。。。。。。。。。。。。。。
    2022-08-07 07:03:18下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载