如何Dijkstra算法和A星比较?

编程入门 行业动态 更新时间:2024-10-11 15:16:55
本文介绍了如何Dijkstra算法和A星比较?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直在寻找什么人在马里奥AI比赛一直在做,其中一些已经建立了一些pretty的整洁马里奥机器人利用A *(A星)径处理算法。

I was looking at what the guys in the Mario AI Competition have been doing and some of them have built some pretty neat Mario bots utilizing the A* (A-Star) Pathing Algorithm.

(视频A *博特在行动)

(Video of Mario A* Bot In Action)

我的问题是,如何做一个明星与Dijkstra算法比较?纵观他们,他们似乎相似。

My question is, how does A-Star compare with Dijkstra? Looking over them, they seem similar.

为什么要使用一个比其他?特别是在路径的游戏环境?

Why would someone use one over the other? Especially in the context of pathing in games?

推荐答案

Dijkstra算法是A *的特例(当启发式为零)。

Dijkstra is a special case for A* (when the heuristics is zero).

更多推荐

如何Dijkstra算法和A星比较?

本文发布于:2023-11-30 14:31:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1650332.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:算法   Dijkstra

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!