-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Implement RSK for generalized permutations #8392
Comments
Attachment: trac_8392_check_permutation-nb.patch.gz |
comment:1
Hi Nicolas, If you want your patch to be reviewed please check "needs review"... For your information your patch breaks posets which use permutations starting from 0:
|
comment:2
This patch is just a begining. I didn't check the 'needs review'. But really for now, I need the advises from any Veteran of combinatorics software.... See http://groups.google.com/group/sage-combinat-devel/browse_thread/thread/c6a39caca9df29dc Thanks in advance. |
comment:3
The current patch breaks integer vectors; it would need to further fix WeightedIntegerVectors to not abuse anymore Permutation with multiple entries.
|
comment:4
Taking over to work on for Sage Days 38. |
Changed keywords from permutation, check, assert to permutation, check, assert, days38 |
comment:5
I'm going to recycle this ticket due to #13742. |
This comment has been minimized.
This comment has been minimized.
Author: Travis Scrimshaw |
Changed keywords from permutation, check, assert, days38 to permutation, check, days38 |
comment:6
For patchbot: Apply: trac_8392-check_permutation-ts.patch |
Changed keywords from permutation, check, days38 to permutation, check, days38, days45 |
This comment has been minimized.
This comment has been minimized.
comment:7
For patchbot: Apply: trac_8392-check_permutation-ts.patch |
comment:8
Fixed doctests and updated documentation. For patchbot: Apply: trac_8392-check_permutation-ts.patch |
comment:9
Hi, The name of the ticket has nothing to do with what the ticket contains. You must change either one or the other ! Your changes to Word are not valid. Imagine that I am working on the alphabet of tableaux and I want a word of length two (containing two tableaux)... Two comments, some others will come later
Vincent |
comment:10
I've made the changes. Now to construct a word using RSK, one will use the optional argument For patchbot: Apply: trac_8392-check_permutation-ts.patch |
comment:33
Fixed. Errors were due to references being in a function that had an alias. |
comment:35
This needs to be rebased such that it applies on top of #14302. |
Rebased |
comment:36
Attachment: trac_8392-check_permutation-ts.patch.gz Rebased over #14302. |
Merged: sage-5.11.beta0 |
comment:38
Thanks for writing this patch. I support the proposed clean up of the code, but I want to raise an objection to choices in the user interface:
|
comment:39
I agree with Franco's comments! Anne |
comment:40
|
comment:41
Hey Franco, Replying to @saliola:
If we wanted to be fully OOP, then there needs to be a class of something like
Then what is your proposed interface? If the input is a pair of tableaux as a list or is given as input 2 tableaux, then run the inverse? Hence we should combine two functions which do completely different behavior into one as I think of RSK as a procedure in 1 direction? What about if someone only thinks of this as the Robinson-Schensted bijection and tries
For the full name, probably yes it should be changed. For the shortname
The documentation could use some expansion.
This is because it's more logical to me for the input to be 2 arguments where we can explicitly specify what they are (as arguments), than a single parameter taking a list and checking to make sure it has length 2 and explaining the (non-standard IMO) input form in the docsting. We could handle both forms of input, but this seems overly complicated, and I imagine python programmers would simply use the Best, Travis |
comment:42
Hi Travis, Replying to @tscrim:
If a user makes a permutation p, it would be natural to try p. to see all methods. Currently p.robinson_schensted() works and it is the most natural entry point. There is no reason to deprecate this method, it can just be a one-line function returning RSK(p).
Couldn't you just use options for the inverse?
Right now it is not clear at all that the input to the Edelman-Greene correspondence are reduced words. Also, if you want to put all insertion algorithms in one method, it might be better to call it insertion_algorithms rather than RSK since RSK is just one of them and I as a user would not think that Edelman-Greene would be under RSK. Or you should have Edelman-Greene as a different method. Plus the documentation definitely needs more details! At least you need to explain what the input is with the various options. Best, Anne |
Since the user is currently very strongly encouraged to use good formatting in #13742, there is no longer a good way to do certain methods which were more designed for words (ex.
robinson_schensted()
)Before, sage would accept that:
This ticket is to give an easy way to run RSK on the first one.
More explicitly, this ticket separates out the
RSK
into a global function which takes various types of input and runs the row insertion and also does the same for the inverse.Apply only: attachment: trac_8392-check_permutation-ts.patch
Depends on #6495
Depends on #13605
Depends on #8703
Depends on #14459
Depends on #14319
Depends on #14302
CC: @sagetrac-sage-combinat @sagetrac-billey
Component: combinatorics
Keywords: permutation, check, days38, days45
Author: Travis Scrimshaw
Reviewer: Jeff Ferreira, Darij Grinberg
Merged: sage-5.11.beta0
Issue created by migration from https://trac.sagemath.org/ticket/8392
The text was updated successfully, but these errors were encountered: