python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
I am trying to give the heuristics using random function. Can anyone please correct me
def getNeighbors(v, adjacency_list):
return adjacency_list[v]
import random
def h(n):
H = {
'A': 14,
'B': 12,
'C': 11,
'D': 6,
'E'...
user17882628
Votes: 0
Answers: 0
8 Directional Pathfinding (A*) - Inconsistently Finding Path
Newbie here so sorry if I don't describe the problem well.
I'm attempting to create an 8 directional pathfinding script. I've followed the majority of a tutorial but wanted to change it up to work in ...
Justin Fowler
Votes: 0
Answers: 1
Which data structure is more efficient for A*?
In A* search, which data structure would be more efficient ? Min-heap or Binary search tree.
Considering that below operations are to be handled frequently:
(a) extract min
(b) search a node
(c) updat...

aks
Votes: 0
Answers: 1
Find a free direction in a pointcloud
in my setup I have a depth camera looking down on the box. There is one object which should be moved (red rectangle) and obstacles (black things). I need to find a free direction to move the object th...
jericho
Votes: 0
Answers: 0