On Thursday, July 11, 2013 1:58:36 PM UTC+5:30, Nicolas M. Thiery wrote: > > On Thu, Jul 11, 2013 at 01:14:09AM -0700, Travis Scrimshaw wrote: > > On Nicolas' second point, don't we want Tableau to inherit from > > SkewTableau > > I am not sure: at least not if the internal data structures are not > the same, which is probably what we want. On the other hand, on the > abstract class level, the answer is probably yes. >
The internal data structures are the same; the only difference is SkewTableau will have None's representing the removed boxes. > > > (and likewise for the parents)? > > Yes. Just being a bit careful that we conform to the ``isA`` paradigm: > the class of ``Tableaux()`` should not inherit from that of > ``SkewTableaux()``: the unique set of all tableaux is not the unique > set of all skew tableaux. Oh the other hand, the class of > ``StandardTableaux(shape)`` could well inherit from that of > ``StandardSkewTableaux(outer_shape, inner_shape)``: a set of all > standard tableaux of a given shape is indeed a special case of a set > of all standard tableaux of a given outer shape and inner shape. > > Will do. Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.