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

Feat:minors algorithm for the MREstimator #120

Merged
merged 5 commits into from
Jan 22, 2024

Conversation

Javierverbel
Copy link
Collaborator

Description

  • Make sure thst the minors algorithm is correctly added.

Copy link
Collaborator

@FloydZ FloydZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just small things



class Minors(MRAlgorithm):
r"""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the raw string

return self._get_optimal_parameter(MR_NUMBER_OF_COEFFICIENTS_TO_GUESS)

def _ME_time_complexity_helper_(self, m, n_reduced, k_reduced, r):
time = 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only difference between _ME_time_complexity_helper and _ME_memory_complexity_helper is w* and 2*. So maybe we can merge those two into one function, to reduce code complexity.

@Javierverbel
Copy link
Collaborator Author

@Javierverbel PR updated. Please approve if it is fine with you.

…m:Crypto-TII/CryptographicEstimators into feature/add_minors_algorithm_mr_estimator
@Javierverbel Javierverbel requested a review from FloydZ January 22, 2024 08:37
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

10 New issues
0 Security Hotspots
33.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@Javierverbel Javierverbel merged commit c96c2bd into develop Jan 22, 2024
5 checks passed
@Javierverbel Javierverbel deleted the feature/add_minors_algorithm_mr_estimator branch January 22, 2024 10:55
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.

2 participants