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
Compute heights of Dyck words and compare them #11196
Comments
comment:2
I posted a new patch which just fixes a small typo in the docstring. I think that |
comment:3
Thanks you for the review ! Replying to @mwhansen:
Even if it is actually a class ? |
comment:4
Replying to @hivert:
I think so since it's more of a shortcut instead of defining a HeightPoset outside of the class and then having a |
comment:5
Hi Mike, I just uploaded a new patch which address your comment. It also add a two new function related to heights. How did you manage to replace my patch ? I got an error saying that I don't have the right to remove yours. Maybe its because you are a trac admin. |
This comment has been minimized.
This comment has been minimized.
comment:6
Looks good to me. |
Changed keywords from Dyck words, height to Dyck words, height, sd31 |
Reviewer: Mike Hansen |
Merged: sage-4.7.2.alpha0 |
Currently one can only compute the maximal height of a Dyck word. The patch add computing the sequence of heights and also comparing two Dyck words.
Since I needed it, I also added two function to compute a Dyck word from its heights sequence and to compute a minimal Dyck word knowing a lower bound for the heights.
Apply :
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: Dyck words, height, sd31
Author: Florent Hivert
Reviewer: Mike Hansen
Merged: sage-4.7.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/11196
The text was updated successfully, but these errors were encountered: