[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-16 Thread Ryan Hinton
On Aug 13, 2:10 am, Johan S. R. Nielsen j.s.r.niel...@mat.dtu.dk wrote: My primary objection is that for object-oriented ideology, I think that constructors should specify what inherently _defines_ some object. I don't think that the encoder/decoder algorithms do this for a code. Well, it

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-13 Thread Johan S. R. Nielsen
On Aug 12, 6:40 pm, Ryan Hinton iob...@email.com wrote: Hello, Johan. I'm a little confused at your restatement of my idea as well as your description of your idea.  Let me provide some code fragments to be concrete. class Code:     def __init__(..., encode_algorithm=['alg_name', args],

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-12 Thread Ryan Hinton
Hello, Johan. I'm a little confused at your restatement of my idea as well as your description of your idea. Let me provide some code fragments to be concrete. class Code: def __init__(..., encode_algorithm=['alg_name', args], decode_algorithm=['alg_name', args], ...): # handle

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-11 Thread Johan S. R. Nielsen
Hi Ryan It seems that we are in agreement with most thing so far then :-) I just realised, however, a new problem with the whole encoder-decoder solution. Many such algorithms will want to take various options (like decoding bound, list size and multiplicity in the Guruswami-Sudan case), which

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-11 Thread Johan S. R. Nielsen
Hi Ryan It seems that we are in agreement with most thing so far then :-) I just realised, however, a new problem with the whole encoder-decoder solution. Many such algorithms will want to take various options (like decoding bound, list size and multiplicity in the Guruswami-Sudan case), which

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-11 Thread Johan S. R. Nielsen
Damn you, Refresh-button! Is there a way to delete such a duplicate post? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-03 Thread Johan S. R. Nielsen
Hi Ryan, Great to have an engineer on this as well. I'm probably more to the theoretical side of things, though I am technically an engineer :-) Your framework sounds good to me. In fact, it's somewhat similar to what I have done. In my case, a particular code is relatively uninteresting,

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-03 Thread Ryan Hinton
Johan, Replies inline below. On Aug 3, 3:34 am, Johan S. R. Nielsen j.s.r.niel...@mat.dtu.dk wrote: ... I guess that Ensembles as you describe them could be implemented completely on top of the object hierarchy I am suggesting. E.g. a XCodesEnsemble would have a constructor for specifying

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-02 Thread Ryan Hinton
Johan, I certainly do not qualify as a Sage veteran, but I have done some work on the engineering side of coding theory (LDPC codes). Your framework sounds good to me. In fact, it's somewhat similar to what I have done. In my case, a particular code is relatively uninteresting, so I have been