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 jump number for posets #24631
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:3
The speedup is enormous, try to compute the jump number of |
comment:5
Isn't this just a backtracking algorithm? I think you should put a little more into the algorithm description (essentially explaining what "greedy" means in this context). Instead of your |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Replying to @tscrim:
Added that.
Recursion depth can not be a problem here; we can propably never compute jump number of 100-element posets, unless it has very small width (and if so, we should optimize by doing series-parallel decomposition). But yes, it would be faster not to use recursion. Returning a result is not enought if we want to cut the computation based on earlier result. |
Reviewer: Travis Scrimshaw |
comment:8
Okay. LGTM. |
comment:9
Thanks × 3. |
Changed branch from u/jmantysalo/faster_jump_number_for_posets to |
Every poset has at least one greedy linear extension with optimal number of jumps. Use this to make a faster function.
CC: @tscrim @fchapoton
Component: combinatorics
Author: Jori Mäntysalo
Branch/Commit:
1306d1f
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24631
The text was updated successfully, but these errors were encountered: