Grasshopper

algorithmic modeling for Rhino

I looking for a way in rhino to find the shortest path between two points in a city through the streets.
This is Dijkstra algorithm ,designed for the same purpose in 50's.
And this is an interesting java application that does exactly what I need,but not in rhino.

Is it possible to apply this algorithm to GH or VB ? any hint? any comment?

Views: 2273

Replies to This Discussion

It's certainly possible to apply the algorithm, it's not that difficult to write. But you won't be able to use the Java source code. You'll need to code this up in VB.NET or C# (or any other language that can compile to MSIL).

--
David Rutten
david@mcneel.com
Seattle, WA
Hi

If you only need the path from A to B a A-Star would be more appropriate:

Her a linke with an implimentation in C#


Enjoy....

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service