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] Implement generation of random permutation #93

Open
3 of 5 tasks
VascoSch92 opened this issue Jun 2, 2024 · 0 comments
Open
3 of 5 tasks

[FEATURE] Implement generation of random permutation #93

VascoSch92 opened this issue Jun 2, 2024 · 0 comments
Labels
feature New feature or request

Comments

@VascoSch92
Copy link
Owner

VascoSch92 commented Jun 2, 2024

Implement the infrastructure to generate random permutation following a given algorithm.

Proposed API

import symmetria

random_permutations = symmetria.random(algorithm="entry-by-entry", degree=3)

for permutation in random_permutations:
   permutation

The first step is:

It follows a list of algorithm of permutations we want to implement:

  • Entry-by-entry
  • Fisher-Yates shuffles
  • Sattolo
  • Sorting method

Reference:

@VascoSch92 VascoSch92 added the feature New feature or request label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant