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
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to