Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Fastest way how to find out path between 2 nodes (Read 1144 times)
MUDO
Junior Member
**
Offline



Posts: 90
Joined: Nov 29th, 2008
Fastest way how to find out path between 2 nodes
Jun 14th, 2009 at 5:47pm
Print Post  
Hi.

I would like to know if there is any path between 2 nodes. What is fastest way how to do it? FindShortestPath? FindLongestPath?

My priority is speed so I think these methods are too complicated.

Thx.

...MUDO...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Fastest way how to find out path between 2 nod
Reply #1 - Jun 15th, 2009 at 6:38am
Print Post  
Hi,

FindShortestPath should be the fastest way, it returns the first path found using breadth-first search.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint