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

Improve minimum_distance for linear codes #20953

Closed
sagetrac-dlucas mannequin opened this issue Jul 6, 2016 · 11 comments
Closed

Improve minimum_distance for linear codes #20953

sagetrac-dlucas mannequin opened this issue Jul 6, 2016 · 11 comments

Comments

@sagetrac-dlucas
Copy link
Mannequin

sagetrac-dlucas mannequin commented Jul 6, 2016

The method minimum_distance (and related method min_wt_vec_gap) can be improved in several ways, by:

  • rewriting its documentation
  • changing some names
  • adding explicit error messages when the user uses the Guava option without
    Guava installed on his system.

This ticket takes care of the above improvements.

Component: coding theory

Keywords: rd3

Author: David Lucas

Branch/Commit: 804d2f2

Reviewer: Julien Lavauzelle

Issue created by migration from https://trac.sagemath.org/ticket/20953

@sagetrac-dlucas sagetrac-dlucas mannequin added this to the sage-7.3 milestone Jul 6, 2016
@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jul 6, 2016

Branch: u/dlucas/clean_minimum_distance

@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jul 6, 2016

Commit: f0e15e4

@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jul 6, 2016

comment:2

I pushed the branch, which contains the following changes:

  • renamed min_wt_vec_gap as _minimum_weight_codeword, moved it inside AbstractLinearCode (was a global method) and made it a private method.
  • Rewrote documentation of _minimum_weight_codeword and minimum_distance, removed useless doctests.
  • Removed a useless variable, factored some code.
  • Added a proper check when the user calls algorithm="guava". If the user does not have Guava installed, it will fail with a proper error message instead of some random GAP error.

This is open for review.

Best,

David


New commits:

b467744Improved min_wt_vec_gap
a052919Reworked minimum_distance
f0e15e4Minor changes to the code

@sagetrac-dlucas
Copy link
Mannequin Author

sagetrac-dlucas mannequin commented Jul 6, 2016

Author: David Lucas

@sagetrac-ylchapuy
Copy link
Mannequin

sagetrac-ylchapuy mannequin commented Oct 20, 2016

comment:3

merge conflict

@sagetrac-ylchapuy sagetrac-ylchapuy mannequin removed this from the sage-7.3 milestone Oct 20, 2016
@jlavauzelle
Copy link
Contributor

@jlavauzelle
Copy link
Contributor

Reviewer: Julien Lavauzelle

@jlavauzelle
Copy link
Contributor

Changed commit from f0e15e4 to 804d2f2

@jlavauzelle
Copy link
Contributor

comment:5

Hi David,

I merged what you've done previously and I checked that doctests pass. Everything seems ok to me. I give a positive review.

Julien


New commits:

da01272Fixed merge conflict. Doctests pass.
804d2f2Removed deprecation alias for min_wt_vec_gap

@jlavauzelle
Copy link
Contributor

Changed keywords from none to rd3

@vbraun
Copy link
Member

vbraun commented Feb 8, 2017

Changed branch from u/jlavauzelle/clean_minimum_distance to 804d2f2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants