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

Compute routes #6

Closed
edjroz opened this issue Nov 8, 2022 · 0 comments · Fixed by #10
Closed

Compute routes #6

edjroz opened this issue Nov 8, 2022 · 0 comments · Fixed by #10
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@edjroz
Copy link
Owner

edjroz commented Nov 8, 2022

Compute possible routes for a skier based on their difficulty.

Function can be seen as
fn compute(peak, difficulty) -> [routes]

Where:
peak: vertex of the graph.
difficulty: maximum difficulty the skier can handle.
routes: a slice of available edges in the graph the skier can take.

the final result must follow the transitive property black > red > blue

@edjroz edjroz added the enhancement New feature or request label Nov 8, 2022
@edjroz edjroz added this to the MVP milestone Nov 8, 2022
@edjroz edjroz self-assigned this Nov 8, 2022
This was referenced Nov 8, 2022
Closed
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

Successfully merging a pull request may close this issue.

1 participant