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

Make it possible to use a custom metric on grid neighbors searches #823

Open
Tortar opened this issue Jun 27, 2023 · 0 comments
Open

Make it possible to use a custom metric on grid neighbors searches #823

Tortar opened this issue Jun 27, 2023 · 0 comments
Labels
enhancement New feature or request grid Grid space related hard performance

Comments

@Tortar
Copy link
Member

Tortar commented Jun 27, 2023

The idea is simple enough: allow the user to define a custom metric instead of the usual metrics (manhattan, ...), this could prove useful since the filtering would be "preprocessed" inside Agents.jl through offsets_within_radius and this would be more performant than doing a filtering after using a chebyshev metric (e.g. assume that a person wants to do a 2d search in a 3d space).

As a first step we could allow the possibility to choose a metric at the calling function level, instead of at the model level as it is currently done, even improving the flexibility of the library.

@Tortar Tortar added grid Grid space related quality of life QoL enhancements that make user experience smoother performance enhancement New feature or request and removed quality of life QoL enhancements that make user experience smoother labels Jun 27, 2023
@Datseris Datseris added the hard label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request grid Grid space related hard performance
Projects
None yet
Development

No branches or pull requests

2 participants