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

[Feature]: Dijkstra pathfinding algorithm #98

Open
1 task
bal7hazar opened this issue Sep 16, 2024 · 1 comment
Open
1 task

[Feature]: Dijkstra pathfinding algorithm #98

bal7hazar opened this issue Sep 16, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@bal7hazar
Copy link
Collaborator

bal7hazar commented Sep 16, 2024

Feature Request

Implement Dijkstra's (source) algorithm for the map package.

Here: https://github.com/dojoengine/origami/tree/main/crates/map/src/helpers

Proposed Solution

No response

Alternatives

No response

Related Code

No response

Additional context

Currently the A* algorithm is implemented, having the choice to use different algorithm for specific cases could be interesting.

Try to match the A* trait for the high level usage, such as:

fn search(grid: felt252, width: u8, height: u8, from: u8, to: u8) -> Span<u8>

If the feature is accepted, would you be willing to contribute it?

  • Yes I would be willing to contribute
@bengineer42
Copy link
Contributor

I could do this at some point after the residency if no one has by then

@bal7hazar bal7hazar added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants