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

Limit by maximum distance #20

Open
brean opened this issue Apr 10, 2019 · 3 comments
Open

Limit by maximum distance #20

brean opened this issue Apr 10, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@brean
Copy link
Owner

brean commented Apr 10, 2019

As suggested here, we could also limit the runtime by a maximum path length instead of just the number of iterations.

@brean brean added the enhancement New feature or request label Apr 10, 2019
@UP929312
Copy link

So instead of using max_runs (which currently defaults to infinity), we could get a max_depth parameter, for one vector, rather than a general spread? I'd certainly use this feature

@brean
Copy link
Owner Author

brean commented Oct 24, 2023

The idea was simple: Use the distance from the start to the next nodes (what we are calculating anyway) and if its above a certain threshold do not go into the neighbors of that node (we can call it max_depth). Should be a 1-liner...
But we could also have a parameter to limit the angle in which we search.

@UP929312
Copy link

The idea was simple: Use the distance from the start to the next nodes (what we are calculating anyway) and if its above a certain threshold do not go into the neighbors of that node (we can call it max_depth). Should be a 1-liner... But we could also have a parameter to limit the angle in which we search.

Sounds good to me, not sure what the angle bit means, but max_depth being a simple addition is exciting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants