T
T
tmin102015-10-30 15:24:40
Algorithms
tmin10, 2015-10-30 15:24:40

What is the algorithm for fast path finding in a graph?

Tell me, what are the algorithms for quickly finding a path from entry to exit (of course, there are no entries and exits in the graph, you need to find a path between two vertices)? All the algorithms that I found are geared towards finding the optimal path, but none are geared towards the speed of issuing a solution, even if it is not optimal.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Mrrl, 2015-10-30
@Mrl

Look towards A*

S
SeptiM, 2015-10-30
@SeptiM

If not minimal, then DFS will work for O (V + E), in your case for the number of edges in the connected component. It's graph reading time. Or do you need faster?

G
GreatRash, 2015-10-30
@GreatRash

habrahabr.ru/post/162915

Q
Qwk31, 2015-11-08
@Qwk31

Dijkstra's algorithm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question