ngraph.path icon indicating copy to clipboard operation
ngraph.path copied to clipboard

Expose parent in distance function

Open georeith opened this issue 1 year ago • 0 comments

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

georeith avatar Nov 10 '23 15:11 georeith