I guess if this is because the last node in the path is not the same as the first node. Is this a bug with the graph or I am missing something.
Thank You.
Harshad Shrikhande
Researcher R&D
TCS Innovations Infra Lab, Chennai
Tata Consultancy Services
Cell:- 7200605821
Mailto: harsha...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
-----Harshad S
To: geotools-gt2-users@lists.sourceforge.net
From: Harshad S <harsha...@tcs.com>
Date: 09/30/2011 02:22PM
Subject: [Geotools-gt2-users] Reg AStarShortestPathFinder in Geotools
Hey folks ,
I just needed to confirm one thing about 'AStarShortestPathFinder' class and its functions . I have a graph and I run the following code on it .
1) AStarShortestPathFinder astar = new AStarShortestPathFinder(graph, source, dest, afuncs)
2) astar.calculate() ( I am assuming the path gets stored in astar)
3) Path p = astar.getPath();
For one of the shapefiles that I am using, the graph is constructed with all the nodes. But, there is an error that comes up in the 3rd line saying that 'The path doesn't begin correctly'.
Please suggest a fix for this .
Thank You.
Harshad Shrikhande
Researcher R&D
TCS Innovations Infra Lab, Chennai
Tata Consultancy Services
Cell:- 7200605821
Mailto: harsha...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users