a-star
Algorithm for finding the shortest path between geocoordinates
AStar works on the basis of straight lines, AFAIK. In my case, we have geocoordinates and I can get the straight line distance between the waypoints. But I am wondering how approximate will that be?[详细]
2023-03-16 01:25 分类:问答A* (A-Star) Algorithm Help
Well, this is my updated code. It doesn\'t slow down, but no path appears. public static IntPosition[] GetPath(BlockType[,] blocks, IntPosition start, IntPosition end, int threshhold)[详细]
2023-03-11 00:04 分类:问答Python A* algorithm not searching appropriately
So I\'m trying to write a Python implementation of the A* algorithm.My algorithm finds the path to the target without trouble, but when I get the program to visualize the closed and open lists, I noti[详细]
2023-03-10 17:28 分类:问答Running C++ code alongside and interacting with Python
So my current project is mostly in Python, but I\'m looking to rewrite the most computationally expensive portions in C++ to try and boost performance.Much of this I can achieve via simple functions l[详细]
2023-03-09 14:01 分类:问答A Star Algorithm - Help on G and H part
I am having a bit of trouble getting the H and G to function properly. What is happening is when I run the program it sometimes finds the best path and sometimes goes way out of the way to get to the[详细]
2023-03-04 22:03 分类:问答Implementing A* on a triangular/hexagonal Grid with negative Coordinates
Following the apparent tradition of of using this question as the basis of new questions I too have a problem I am looking to solve as elegantly as possible:[详细]
2023-03-03 15:39 分类:问答Am I making correct use of pointers in this C implementation of A*?
In order to get a better understanding of C and to try and improve the performance of an app I am building for iOS, I decided to implement the path finding in C.[详细]
2023-02-28 18:55 分类:问答A* heuristic to create Bresenham lines
From what I understand about A* heuristics and how the Bresenham algorithm works, this may not be be possible since only the current state and goal state are passed to the heuristic function. But mayb[详细]
2023-02-28 00:35 分类:问答A simple robot simulator which has automatic IR scanning for coordinates and simple state mapping
I am currently doing a project for a post-grad agents paper. For my project I have an idea about extending anytime searches such as ARA* ADA* and DLite*. I want to test this idea by simulating it on a[详细]
2023-02-27 06:07 分类:问答What are some good methods to finding a heuristic for the A* algorithm?
You have a map of square tiles where you can move in any of the 8 directions. Given that you have function called cost(tile1, tile2) which tells you the cost of moving from one adjacent tile to anothe[详细]
2023-02-25 02:13 分类:问答
加载中,请稍侯......