Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow providing custom goal? #4

Open
burgalon opened this issue Jul 5, 2018 · 2 comments
Open

allow providing custom goal? #4

burgalon opened this issue Jul 5, 2018 · 2 comments

Comments

@burgalon
Copy link

burgalon commented Jul 5, 2018

Let's suppose the we want pathfinder to find "water" from sourceNode ?
How about adding customGoal in the options argument similarly to the heuristic / distance options?

@ivanstnsk
Copy link

hm, is your "water" described as a vertex of graph? If so, you just have to find a path to that point

@burgalon
Copy link
Author

burgalon commented Aug 29, 2018

i'm just saying it's possible that you would want to just reach a goal (or attribute of a vertex) that's possible in few vertices, and not a specific vertex....
(really didn't describe well the idea in the first comment... :) )

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

No branches or pull requests

2 participants