ngraph.path
ngraph.path copied to clipboard
Expose parent in distance function
Exposes the parent node in the distance function if one exists.
This is useful for applying penalties for turns, where you need to look at the node visited prior to this see if you made a turn.
See https://github.com/anvaka/ngraph.path/issues/11 and https://github.com/anvaka/ngraph.path/issues/2