-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Faster version of longest_increasing_subsequence_length #34214
Comments
Branch: public/combinat/34214 |
Commit: |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
Roughly, we replace the calls to |
comment:4
Green bot. |
This comment has been minimized.
This comment has been minimized.
Reviewer: Vincent Delecroix |
comment:5
This is indeed cleaner. The algorithm is clever. Do you know if it possible to generate such subsequence in |
comment:6
Apparently yes : https://en.wikipedia.org/wiki/Longest_increasing_subsequence |
comment:7
Indeed for a single sequence. Not sure how to extend to find all longest sequences. |
comment:8
Replying to @dcoudert:
There could be exponentially many longest sequences. Pick It would be interesting to implement something fast to count the number of such sequence. This could be obtained for example from #31451 as the coefficient |
This comment has been minimized.
This comment has been minimized.
Changed branch from public/combinat/34214 to |
Before
After
follow up: #31451, #34218
CC: @videlec @nadialafreniere
Component: combinatorics
Keywords: permutation, subsequences
Author: David Coudert
Branch/Commit:
15aa550
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/34214
The text was updated successfully, but these errors were encountered: