Rafal, great you are looking into the guts of the A-Star! Do you have a test using it, so we can see what you are trying to do with some example data?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sat, Sep 10, 2011 at 10:25 AM, Rafal Wasielewski <[email protected]> wrote: > I've implemented model with routing with OpenStreetMap data and all is okay > but i have to change one more thing. > > My graph has on each node with turn restriction information about where i > can't drive so it's from rel, to rel and via node like in osm. > > All data all properly constructed. > > https://gist.github.com/4caf271c72c47e37c3be line 199 and 214 are changed > to user "double relation cost" only where is turn restriction on lastRel. > > Here is my modified cost function: > https://gist.github.com/ae2b20afa29de2cbeacc > > And always I get lasRel as null i don't know why... > > Cheers, > Rafal > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-graph-algo-AStar-getCost-function-tp3324937p3324937.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

