Answer the question
In order to leave comments, you need to log in
How to find the shortest path in a graph with a heuristic algorithm?
Hello,
a weighted undirected graph is given by an adjacency matrix. need a heuristic algorithm to find the shortest path between two points. I understood A * and ants, in the end nothing good came of it.
Answer the question
In order to leave comments, you need to log in
The simplest heuristic - find some path and optimize it until you get bored
HEURISTICS - A set of research methods that contribute to the discovery of the previously unknown.
That is, "heuristic" is a method that "does something smart and useful", that is, nothing specific. As uvelichitel already said, start with any algorithm, then look for more optimal ways, as this is another question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question