Closed 1861b8a9-77f0-4f35-8431-8514a75b40d1 closed 7 years ago
Could you please mention the files you intend to point out in the sage directory tree ?
Hello,
I intend to create a list of types and their definitions in decoder.py
(sage.coding.decoder
), under the generic method decoder_type
.
Actually, I originally did that in #19897, but after a discussion in #19623, we found that defining precisely types for decoders wasn't such an easy thing, hence this ticket.
David
Hi,
I do not clearly understand what is asked for.
Is a type something like "always_succes", "unique", "list" and so on ? I would then rather call that a property, since it is not a sage type.
Should that be done with a codes.decoders.decoder_types()
call, which lists all decoder "types" , with an extremely clear docstring when querying with codes.decoders.decoder_types?
?
Daniel
I put my comments in the Issue #151 that Johan pointed out to me. It gives a suggestion on redefining the decoder types.
Branch: u/dlucas/decoder_types
I pushed a table which contains a list of decoder types and their definitions. Open for review.
New commits:
37e738f | Table for decoder types |
Commit: 37e738f
Changed keywords from none to rd3
Author: David Lucas
Changed branch from u/dlucas/decoder_types to u/jsrn/decoder_types
I made some improvements:
decoder_type
to _instance_decoder_type
to fix this.If you're OK, let's get this thing in the air!
New commits:
70e6052 | Reformulated some elements. Simpler table format |
6e9c1dc | Don't duplicate doc-string in decoder_type and _instance_decoder_type |
Changed author from David Lucas to David Lucas, Johan Rosenkilde
Reviewer: Johan Rosenkilde
I'm OK, setting to positive review.
David
Changed branch from u/jsrn/decoder_types to 6e9c1dc
Decoders objects in coding theory are associated with a list of types, which are a list of keywords describing to the user the specificites of the underlying decoding algorithm.
For now, the types are not listed nor defined anywhere.
This ticket proposes to create a proper list of types and their definitions.
CC: @sagetrac-dlucas @ClementPernet @jlavauzelle @sagetrac-danielaugot
Component: coding theory
Keywords: rd3
Author: David Lucas, Johan Rosenkilde
Branch/Commit:
6e9c1dc
Reviewer: Johan Rosenkilde
Issue created by migration from https://trac.sagemath.org/ticket/20001