Hi all!

I am starting to use geotools for my project and by now I have created
working example that returns shortest path from point A to B for a given
graph - I am using FeatureGraphGenerator.

Now, my question is, how to create shortest path by using restrictions /
constraints such as: one way street, directed roads, speed limits, roads
that you can not use with a car, ... etc? I have all this information. I
have to somehow "teach" dijkstra that will use this data. How?

Do I have to use BasicDirectedLineGraphGenerator ? 
Is this done just by properly setting up weights ?

I've searched this forum and couldn't find good explanation of this.

Any help and and/or pointing direction about the subject would be most
welcome.

thx,
bye
-- 
View this message in context: 
http://www.nabble.com/Shortest-path-finder-tp19946065p19946065.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to