登录
首页 » 算法 » A星算法实现

A星算法实现

于 2023-05-30 发布 文件大小:6.57 MB
0 371
下载积分: 2 下载次数: 1

代码说明:

应用背景本程序对Astar算法进行了实现。是A星算法的一个例子,A星算法可以应用在机器人自定位导航的学习中,适合于刚开始接触这一块的同学们关键技术A*搜寻算法俗称A星算法。这是一种在图形平面上,有多个节点的路径,求出最低通过成本的算法。常用于游戏中的NPC的移动计算,或线上游戏的BOT的移动计算上。在游戏中,路径潜在地花费了许多存储空间, 特别是当路径很长并且有很多物体需要寻路时。路径压缩,导航点和beacons通过把多个步骤保存为一个较小数据从而减少了空间需求。Waypoints rely on straight-line segments being common so that we have to store only the endpoints, while beacons rely on there being well-known paths calculated beforehand between specially marked places on the map.如果路径仍然用了许多存储空间,可以限制路径长度,这就回到了经典的时间-空间折衷法:为了节省空间,信息可以被丢弃,稍后才重新计算它。

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

发表评论

0 个回复

  • 有限元求解微分问题
    有限元求解微分问题 -Finite Element Method differential problem solving differential FEM Finite Element Method differential FEM problem solving differential problem
    2022-03-14 09:55:49下载
    积分:1
  • CART(分类回归树)
    源码包包含两个文件,一个用于生成分类回归树,另一个用于画分类回归树的图例。使用时,只需调用cart.py。该代码能够实现未剪枝的分类回归树和剪枝的回归树。另外,该算法能同时以图的形式显示一颗分类回归树。
    2022-11-07 02:55:04下载
    积分:1
  • 蚁群对机械臂的路径进行仿真规划2
    蚁群算法对机械臂的路径进行仿真规划,可以利用蚁群算法进行机械臂的路径进行规划,如果需要,请下载……………………
    2022-02-04 15:52:39下载
    积分:1
  • 10000以内数阶乘的C语言程序
    算10000以内数阶乘的C语言程序-count 10,000 factorial within the C Programming Language
    2022-03-14 06:28:32下载
    积分:1
  • MIT photonic crystal calculation procedures, to look after feeling learned a lot...
    麻省理工的计算光子晶体的程序,自己看后感觉收获不小,推荐给大家,对工科学生应该很有用处-MIT photonic crystal calculation procedures, to look after feeling learned a lot and recommend it to everyone. Engineering students to be useful
    2022-11-29 09:50:03下载
    积分:1
  • It s simple implementation of Genetic Algorithm on 8
    It s simple implementation of Genetic Algorithm on 8-puzzle and as result it can say either there is or not a set of movement to go from initial state to a given final state.-It s simple implementation of Genetic Algorithm on 8-puzzle and as result it can say either there is or not a set of movement to go from initial state to a given final state.
    2022-02-21 02:51:52下载
    积分:1
  • 3DES C++ 源代码
    3DES德C++源代码,用于测试和学习,3DES算法思路编写的非常清晰,对于初学者非常有用。         
    2022-02-22 09:50:48下载
    积分:1
  • Csdfdssd23
    asdf 矩阵LU分解求逆详细分析与C语言实现
    2022-08-20 05:56:42下载
    积分:1
  • 多项式曲线拟合,和三角分解(LU分解)
    任意阶的多项式曲线拟合方程,附三角maxtix分解-polynomial curve fitting, and triangularity decomposition(LU decmposition)
    2023-09-01 15:10:03下载
    积分:1
  • F020温度程序
    本例程是应用F020开发板,测试环境温度的程序。方便修改,引脚设置简单,备注清楚明白,方便大家使用。温度芯片是18B20,也可以修改成其他方式。
    2022-02-06 04:27:00下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载