Skip to content

Potentially more efficient ContinuousSpace/GridSpace? #597

Open
@AayushSabharwal

Description

@AayushSabharwal

I came across this recently: https://stackoverflow.com/a/48384354/6744592

It seems like a really interesting implementation of a grid-based data structure for storing moving agents and performing circle/bounding box checks, which is of course exactly what we need. Could it potentially be applied to GridSpace? Some experimentation would be necessary for scaling this to arbitrary dimensions.

We likely lose the neighbourhood caching that is done in the underlying GridSpace, but only implementation and benchmarking will tell if it's worth.

This is all of course up for discussion. I just shared it because it looks really cool.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions