Closed anneschilling closed 11 years ago
Changed keywords from tableaux to tableaux, days49
Changed dependencies from #11742 to none
Description changed:
---
+++
@@ -1 +1 @@
-A new class of weak and strong k-tableaux
+A new class of weak k-tableaux
Description changed:
---
+++
@@ -1 +1 @@
-A new class of weak k-tableaux
+This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.
Strong tableaux was moved into ticket #14776
Reviewer: Mike Zabrocki, Anne Schilling
Description changed:
---
+++
@@ -1 +1,3 @@
This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.
+
+The methods on k-charge were contributed by Nate Gallup and Avi Dalal during Sage Days 49 in Orsay.
Dependencies: #14519
Hey Anne and Mike,
Thank you both for your work on this. However there are a few things I've noticed while glancing over the patch:
INPUT:
block for WeakTableau
has one too many spaces, so it is overly indented. It needs to line up as follows:- item 1
- inner item a
- inner item b
- item 2
k_charge_I()
and k_charge_J()
have the same docstring. In fact, it might be worthwhile to actually describe the algorithm.WeakTableau
elements which has it's abstract methods defined. For example, you can also consolidate all of the more detailed explanations of the methods in there and link to them in their concrete classes. In particular, it because an easier/more straightforward to check to see if it's a WeakTableau
and allow you an easy way to compare __eq__
between different representations of a weak tableau.sage: T = WeakTableaux(3, [5,2,1], [1,1,1,1,1,1])
sage: T2 = WeakTableaux(3, [3,2,1], [1,1,1,1,1,1], representation='bounded')
sage: T2(T[0])
T.representation('bounded')
which returns the corresponding parent using a different representation. Same on the elements (which of course would call the respective to_*
method, but it would make it consistent IMO)?WeakTableau_factorized_permutation.from_core_tableau().
from_*
(and quite possibly the to_*
) methods maybe should be available in the parents rather than as classmethods for the element classes... SEEALSO::
block in k_charge()
is not formatting correctly, so it doesn't link the methods.:arxiv:`1234.5678`
autolink?self
as an input (ex. in list_of_standard_cells()
)Ack, that ended up being a longer list than I expected...
Best,
Travis
Changed author from Anne Schilling, Mike Zabrocki to Anne Schilling
Changed reviewer from Mike Zabrocki, Anne Schilling to Mike Zabrocki
Hi Travis and Mike,
Thank you for your review comments. I incorporated them all, except for the input of the inner shape yet and the comments below:
- In the same vein, could we make it so that we can convert between different representations with parents? I.e. I'd like to do the following:
sage: T = WeakTableaux(3, [5,2,1], [1,1,1,1,1,1]) sage: T2 = WeakTableaux(3, [3,2,1], [1,1,1,1,1,1], representation='bounded') sage: T2(T[0])
We discussed coercing during design discussions at Sage Days 49 and currently decided against it. For now, it is easy to go between the various representations with the representation method. If we really need this feature, we can always add coercion later.
- I think the
from_*
(and quite possibly theto_*
) methods maybe should be available in the parents rather than as classmethods for the element classes.
This is what Nicolas suggested to me, so I will leave it as is.
Best,
Anne
Changed reviewer from Mike Zabrocki to Mike Zabrocki, Travis Scrimshaw
Hi Mike,
Thanks for your review patch! I incorporated the changes. The new version now take as input
WeakTableaux(k, shape, weight, representation = 'core')
where shape is either a shape or a tuple of shapes in the skew case.
I hope everything looks ok now!
Anne
Changed dependencies from #14519 to #14519, #14101
Hi Mike,
The updated patch incorporated all changes we discussed (by e-mail). It
The semistandard checks and pretty printing rely on #14101, so I put this as a dependency.
Best,
Anne
Hi Mike,
I just posted a new version which incorporates your two doc review patches and fixes the bug in weights.
Anne
Fixed two more little issues that Mike found (spurious import of Tableau and innter_shape -> inner_shape).
Anne
I'm happy and all tests pass.
Replying to @zabrocki:
I'm happy and all tests pass.
Great, thank you for the review! I just made height_of_restriced_subword a private method. Nothing else changed.
Anne
I reaffirm positive review.
-Mike
Attachment: trac_12250-ktableaux-as.patch.gz
Changed dependencies from #14519, #14101 to #14519, #14101, #7983, #14772, #13589, #14907, #10630, #14143, #14015, #14516
Merged: sage-5.12.beta5
See https://github.com/sagemath/sage-prod/issues/15444 for a follow-up on the k-charge implementation.
This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.
The methods on k-charge were contributed by Nate Gallup and Avi Dalal during Sage Days 49 in Orsay.
Depends on #14519 Depends on #14101 Depends on #7983 Depends on #14772 Depends on #13589 Depends on #14907 Depends on #10630 Depends on #14143 Depends on #14015 Depends on #14516
CC: @sagetrac-sage-combinat @sagetrac-npgallup
Component: combinatorics
Keywords: tableaux, days49
Author: Anne Schilling
Reviewer: Mike Zabrocki, Travis Scrimshaw
Merged: sage-5.12.beta5
Issue created by migration from https://trac.sagemath.org/ticket/12250