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

Ff refactor #298

Merged
merged 4 commits into from
Dec 31, 2022
Merged

Ff refactor #298

merged 4 commits into from
Dec 31, 2022

Conversation

Cinereo2
Copy link
Collaborator

Description

User can now provide a struct implementing rand::Distribution, which gets utilized in calculating flight distance of a firefly

Linked issues

Resolves #295

Important implementation details

For now rand::Distribution is acutally Distribution.
While generally advisable to not use "top-'' or ''bottom-heavy'' distributions, it's not actually dissuaded.

@Cinereo2 Cinereo2 merged commit 7127117 into main Dec 31, 2022
@Cinereo2 Cinereo2 deleted the ff-refactor branch December 31, 2022 07:09
@Cinereo2 Cinereo2 restored the ff-refactor branch December 31, 2022 07:09
@Cinereo2 Cinereo2 deleted the ff-refactor branch December 31, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FF] Parametrize flight to utilize user-provided random distribution
1 participant