Hello Harshad, > Is the 'cost' function for AStarIterator.AStarFunctions the > total distance+ cost function or just the heuristic estimate function.
The form of the cost function is specific to your use case. It might be simply Euclidean distance, or some function of distance and attributes of the source and destination nodes (which may in turn be constant or varying). > What > will be the f(x) for the algo if my cost function simply returns a 0 . I'm sorry but I don't understand the question. I think you need to study the algorithm a little more. Also, as Jody suggested, the test sources are a good reference too. Michael ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
