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

Reply via email to