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

Add patefield algorithm #142

Merged
merged 31 commits into from
Feb 14, 2022
Merged

Add patefield algorithm #142

merged 31 commits into from
Feb 14, 2022

Conversation

HDembinski
Copy link
Member

@HDembinski HDembinski commented Feb 14, 2022

Adds Patefield algorithm to generate random tables with given marginal totals as an alternative to the shuffling algorithm. The shuffling algorithm was also replaced by a more efficient version that requires less additional memory. Benchmarks show that both have their strengths in certain scenarios, so by default try to call the faster one based on a heuristic.

@HDembinski HDembinski merged commit dd429c7 into develop Feb 14, 2022
@HDembinski HDembinski deleted the add_patefield_algorithm branch February 14, 2022 22:51
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.

None yet

1 participant