LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dykstras shortest path

I am trying to take an array of XY clusters and cerate the shortest path through the points, I remember using dykstras back in grad school for something similar.  Has anyone implemented such an algorithm in labview?
 
Paul 
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 1 of 4
(3,015 Views)
There is actually an example (in LV7.1) called "shortest paths.vi" that uses the Bellman priciple.  That might get you started.
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 4
(2,996 Views)

Thanks I will look it over.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 4
(2,942 Views)
I believe A* is probably the most efficient pathfinding algorithm.  I started to implement one and ended up with a depth-first algorithm.  However, the building blocks can be used for A* as well.  If you are interested, I can dig it up and post it.
0 Kudos
Message 4 of 4
(2,919 Views)