Skip to content

Update Path class to allow different distances#47

Open
StefansM wants to merge 3 commits into
Yonaba:masterfrom
StefansM:master
Open

Update Path class to allow different distances#47
StefansM wants to merge 3 commits into
Yonaba:masterfrom
StefansM:master

Conversation

@StefansM

Copy link
Copy Markdown

Rather than always using the Euclidean distance metric to find the distance between nodes in the path, this commit adds an optional parameter to the getPath method to set the distance metric.

A heuristic function can now be passed to the `getLength` method to
specify the distance metric to be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant