Questions tagged [path-finding]

For questions related to path-finding algorithms, such as A*.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Continuous Pathfinding for 3D Complex Environments

I'm the creator of an autonomous bot referred to as SwarmBot for Minecraft. One of SwarmBot's core features is its parkouring ability. Despite being relatively effective, there are instances where the ...
andrewgazelka's user avatar
0 votes
0 answers
31 views

Inquiry about utilising AI in CNC machining path generation

I will begin by describing a situation. I work in laser machining control company. The essence of the problem, to which I would like to try to apply AI based tool is this: Say I have a analytically ...
Donatas Šimeliūnas's user avatar
0 votes
0 answers
343 views

Why is the greedy heuristic admissible and consistent for food at corners problem, but not for food anywhere problem?

UCBerkley has a great Intro to AI course (CS188) where you can practice coding up search algorithms. One of the exercises (question 6), asks to generate a heuristic that will have Pacman find all 4 ...
Nova's user avatar
  • 133
1 vote
1 answer
357 views

How to find the order in which DFS algorithm will inspect the nodes?

I have been taking Artificial Intelligence course in College. I came upon this problem. Now here I have to find the order in which DFS algorithm inspects the nodes and what is the path from Start to ...
astraltrinity's user avatar
1 vote
1 answer
75 views

What exactly is the population in the problem of finding the best path in a network of nodes using genetic algorithms?

I have 17 nodes in my network with 3000 different paths in total. I have to select the path with highest available bandwidth, using genetic algorithm. I'm confused about the approach! Should I have ...
shadi's user avatar
  • 11
0 votes
0 answers
190 views

Comparing heuristics in A* search and rescue operation

I was reading a research paper titled A Comparative Study of A-star Algorithms for Search and rescue in Perfect Maze (2011). I have some doubts regarding it: 1. The Evaluation Function of $\mathrm{A}^...
user46328's user avatar
1 vote
0 answers
270 views

How to pathfind with volatile probabilities (Slay the spire)

I'm attempting to write an AI for the game Slay the Spire. One of the tasks it will need to do is navigate the map. The map is a directed acyclic graph with the same start and end node. Each node (...
Nathan Merrill's user avatar
1 vote
1 answer
475 views

How to report the solution path of a search algorithm on a graph?

I'm working on a problem where we are given a graph and asked to perform various search algorithms (BFS, DFS, UCS, A*, etc.) and the goal state is to visit all nodes in the graph. After all nodes are ...
anonuser01's user avatar
1 vote
1 answer
2k views

How to solve Snake Game with a Hamiltonian graph algorithm?

I wonder if there is a way to solve snake game using Hamiltonian algorithm? if there is a way how to apply it? what data structure will be used with algorithm? time complexity and space complexity? ...
Ahmad Kandil's user avatar
2 votes
0 answers
37 views

Algorithm to solve a fault independent of its type

I am looking to plan a solution for a workspace fault and not hardware faults. Consider a task where a robot has to move balls from one place to another. In case it faces any condition which is ...
Sam's user avatar
  • 21
0 votes
1 answer
185 views

Are there any pathfinding algorithms that take customized rules into account when determining the shortest path?

I need a pathfinding algorithm that considers the history of visited nodes and varies its path depending on some rules (like already visited). Are there good approaches serving this purpose? To be ...
Bryan McGill's user avatar
1 vote
1 answer
249 views

How can I calculate the shortest path between two 2d vector points in an environment with obstacles?

I have a 2D plane, with a fixed height and width of 10M. The plane has an agent (or robot) in the point $(1, 2.2)$, and an electric outlet in the point $(8.2, 9.1)$. The plane has a series of ...
Tlaloc-ES's user avatar
  • 113
1 vote
1 answer
56 views

Which pathfinding algorithms can be applied on coloured graphs?

Are there any (well validated) approaches for applying pathfinding algorithms on a graph following specific rules? To be more specific: I want to introduce a graph with coloured edges. The idea is to ...
Bryan McGill's user avatar
2 votes
1 answer
204 views

How do self-driving cars construct paths?

I wonder how self-driving cars determine the path to follow. Yes, there's GPS, but GPS can have hiccups and a precision larger than expected. Suppose the car is supposed to turn right at an ...
John M.'s user avatar
  • 227
3 votes
1 answer
257 views

Given an image and two points $A$ and $B$ on that image, how could we find a path from $A$ to $B$?

If we have a search or path-finding problem, A* and Dijkstra's algorithm require that we formulate it as a search in a graph with nodes and connections between these nodes. If there are obstacles, we ...
dirtgambit's user avatar
2 votes
0 answers
393 views

Snake path finding variant : Algorithm choice

I am working on a project which maps to a variant of path finding problem. I am new to this area and I would be very grateful if you could give suggestions/ point to libraries for relevant algorithms. ...
Pranav M's user avatar
1 vote
0 answers
26 views

Approach for data transformation needed

I am looking for an algorithm to transform an input data to a goal data using a series of operations. The shorter the series the better. The following is known: the input data the goal data input ...
Viatorus's user avatar
  • 111
1 vote
0 answers
725 views

How to teach an AI to race optimally in a racing game?

I play a racing game called Need For Madness ( some gameplay: https://www.youtube.com/watch?v=NC5uFZ-t0A8 ). NFM is a racing game, where the player can choose different cars and race and crash the ...
Jaroslav Paska's user avatar