登录
首页 » Others » 数据结构程序设计-迷宫问题

数据结构程序设计-迷宫问题

于 2020-12-01 发布
0 213
下载积分: 1 下载次数: 0

代码说明:

1)问题描述迷宫求解是实验心理学中的一个经典问题,心理学家把一只老鼠从一个无顶盖的大盒子的入口处赶进迷宫,迷宫中设置很多隔壁,对前进方向形成了多处障碍,心理学家在迷宫的唯一出口处放置了一块奶酪,吸引老鼠在迷宫中寻找通路以到达出口。例如,图2所示为一个迷宫示意图,其中双边矩形表示迷宫,1代表有障碍,0代表无障碍。 0 1 2 3 4 5 6 7 8 90 1 1 1 1 1 1 1 1 1 111 0 1 1 1 0 1 1 1 12 1 1 0 1 0 1 1 1 1 13 1 0 1 0 0 0 0 0 1 14 1 0 1 1 1 0 1 1 1 15 1 1 0

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

发表评论

0 个回复

  • 基于STM32L151的物联网LORA
    物联网LORA全部代码实现,完成LED灯点亮的功能,并显示在OLED屏上,可以正常使用
    2020-12-05下载
    积分:1
  • ADMM优化算法讲解
    alternating direction method of multipliers优化算法讲解OutlineDual decompositionMethod of multipliersAlternating direction method of multipliersCommon patternsExamplConsensus and exchangeConclusionsDual decompositionDual problemp convex equality constrained optimization problemminimizesubject to Ax= 6e Lagrangian: L(a, g)=f(a)+y(Ac-bdual function: g(y)=infx L(, g)e dual problem: maximize g(g)recover x*=argminL(, y*)Dual decompositionDual ascentgradient method for dual problem: y+l=yk +aVg(yky ")=A c-b, where a= argmin L(a, y")b dual ascent method isk+1gminz L(a, yk/-minimization(Axk+I-b)// dual updateworks, with lots of strong assumptionsDual decompositionDual decompositione suppose f is separablef(x)=f1(x1)+…+fN(xN),x=(x1Nthen L is separable in x: L(a, y)=L1(a1, 3)+...+Ln(N, 3)-y bLi(ai, y)=fi(ai)+y Aiaie -minimization in dual ascent splits into N separate minimizationsk+1argmin Li(li, y)Which can be carried out in parallelDual decompositionDual decompositiondual decomposition(Everett, Dantzig, Wolfe, Benders 1960-65k+1argLi(ei, y)N A: k+scatterupdate i in parallel, gather Ai k+solve a large problemby iteratively solving subproblems(in parallel)dual variable update provides coordinationworks, with lots of assumptions; often slowDual decompositionOutlineDual decompositionMethod of multipliersAlternating direction method of multipliersCommon patternsExamplConsensus and exchangeConclusionsMethod of multipliersMethod of multipliersa method to robustify dual ascentb use augmented Lagrangian(Hestenes, Powell 1969),p>0(, y)=f(c)+y(Ax-b)+(p/2)Acmethod of multipliers( Hestenes, Powell; analysis in Bertsekas 1982)k+1argmin Lp(a, yD(A.(note specific dual update step length pMethod of multipliersMethod of multipliers dual update stepoptimality conditions( for differentiableAcx-b=0, Vf(a*)+A(primal and dual feasibility)Since ah+1minimizes Lp(a, y)k+1 kf(x4+1)+A7(y+p(AVxf(at)+adual update yti=y+p(k+1k+1dual feasibleprimal feasibility achieved in limit: A k+I-b>0Method of multipliers
    2021-05-06下载
    积分:1
  • David L. Donoho 的 Compressed Sensing
    David L. Donoho 的 Compressed Sensing,详细介绍了压缩感知理论,学习压缩感知必读文章
    2020-12-04下载
    积分:1
  • 基于MATLAB的直流电机双闭环调速系统的设计与仿真
    基于MATLAB的直流电机双闭环调速系统的设计与仿真,包含matlab图。
    2020-07-02下载
    积分:1
  • EhLib_9.4_Build_9.4.015_Professional_Edition_with_Full_Source
    Ehlib一款非常不错的第三方Grid控件。界面美观、功能强劲、内含编程时最常用的Delphi控件和源码,比Delphi自带的强大许多、比cxGrid小巧、使用起来更简单方便。
    2020-12-02下载
    积分:1
  • PHP+Mysql车辆管理系统(车管所)
    本源码是基于PHP+Mysql实现的车辆管理系统(车管所),包括用户与管理员的角色,实现了完整的增删改查功能模块,结构简单,思路清晰,代码严谨但不复杂。运行环境是WAMPSERVER,开发工具使用的是Dreamweaver,适合用于PHP入门级学员的学习交流,或者简单课设的参考源码。
    2020-12-05下载
    积分:1
  • 基于matlab的汽车牌照识别
    使用MATLAB开发了一套车牌识别系统,完成车牌定位、车牌字符分割和车牌字符识别等功能(内含完整源代码和毕设论文以及答辩PPT)
    2020-12-03下载
    积分:1
  • javaweb企业门户网站
    javaweb企业门户网站
    2020-12-10下载
    积分:1
  • 电子时钟/万年历设计报告 基于AT89c51
    1.硬件﹑软件方案的设计说明。2.用PROTEL工具软件画出系统电路原理图,系统元件布局﹑布线图。3.系统的元器件清单。4.提供程序流程图。5.提供源程序清单(带中文注释)。6.提供系统的使用和操作说明。7.对创新设计和功能,请特别加以陈述。有闹钟 按键有无声转换 整点提示 闹钟状态查看日期 时间可调及转换显示
    2020-12-01下载
    积分:1
  • GPS信号的模拟捕获和跟踪仿真.rar
    【实例简介】包括C/A码的产生,从模拟GPS信号的生产,捕获和跟踪仿真
    2021-11-26 00:33:50下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载