Hello Nick, Well, I guess the best solution would be to take the state information out of the graph and put it in the visitor instead. This would allow multiple concurrent visitors to do their stuff without getting in each other's way.
If that sounds sensible perhaps you might like to try doing a patch to that effect ? :) Michael On 12 October 2011 04:33, Nick Malleson <[email protected]> wrote: > Sorry there was one other thing I forgot to add to my previous post. With the > code as it is at the moment I don't think it's possible to have multiple > walkers traversing a graph at the same time which means no multi-threaded > graph analysis. This is a big drawback for some of the stuff I'm doing at > the moment with large road networks (threading could improve my algorithm > 2-4* ) > > Not that I'm suggesting there's an easy fix! > > Nick > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Problem-iterating-over-a-graph-tp6676019p6881879.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > 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-d2d-oct > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ 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-d2d-oct _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
