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
"Internal" documentation of posets #17477
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:3
As there is no status "needs_comments" I put this to needs_review. Comments are welcome. (My native language belongs to Uralic languages... Hence maybe not best one to write documentation in English.) |
comment:4
Hello ! I fixed a couple of things and added links toward the methods/clases you cite (branch at public/17477) Also, I am not sure that the I set this ticket back to Nathann |
comment:5
Replying to @nathanncohen:
Looks better.
True. Actually docs of Hasse diagram says that Is this easier if you just remove paragraph "The Internal DiGraph of the poset also contains - -" from public/17477 and make it to branch for this repo? Maybe also we can add to last paragraph something like "Hence for example |
comment:6
Hello !
Oh. I see. Could you do something for that ? If you cannot, please tell me and I will. It must not be forgotten again.
Well, can you add a commit on the branch for that ? I change the ticket's branch so that we can see what is happening. Nathann |
New commits:
|
Changed branch from u/jmantysalo/_internal__documentation_of_posets to public/17477 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Nathann Cohen |
comment:9
Replying to @nathanncohen:
I think that this is not about one option. Whole
Done this. |
comment:10
Hmmmm.. Now that I think of it, the function #17408 actually computes the Anyway: it this ticket ready ? If you have nothing to add I guess it can go. Nathann |
comment:11
The problem comes from Nathann |
comment:12
Replying to @nathanncohen:
Aha. I think that Sage could have some kind of system-level setting for memory-cpu -tradeoff. Sometimes saving, for example, le-matrix, may not be right thing to do.
Yes, I think this is ready. Or at least better than no documentation at all. |
comment:13
Ahahaha. No, I swear that in our current implementation it is always the right thing to do. The term 'dense matrix' may be scary, but a matrix of bits is infinitely more compact than a list of adjacences stored with pointers and stuff. Infinitely more compact that all Python objects we store for nothing. Look: the
How much does it cost to store the dense binary matrix ? Simple, you need (211)2 bits. That means ... 4 Mb = 500kB. And we (still) live in a world where all posets you generate are stored forever uselessly, where you have 64-bits pointers everywhere and stuff. Really, those 4Mb are far from accounting for any of our memory problems
Okay, positive review then ! Nathann |
comment:15
author name missing |
Author: Jori Mäntysalo |
comment:19
Duh. We already have this kind of documentation on |
comment:20
Oh.. I see Then I guess you should move what is useful in there to the documentation you added in the module, and delete what is left. Doc is no good if nobody knows it is there, and you cannot easily get the doc content of Nathann |
comment:21
I opened a discussion on sage-devel about this. |
This comment has been minimized.
This comment has been minimized.
comment:23
There was no clear consensus on sage-devel. Hence I mark this as positive_review and wont_fix. Maybe I'll get back to this when going throught whole documentation of posets. |
Poset class should contain some lines of documentation meant mostly for developer. Basically "A poset is a digraph with integers as elements and a list..."
Discussion at https://groups.google.com/d/topic/sage-devel/ZXkfB5dSchs/discussion
CC: @nathanncohen
Component: combinatorics
Keywords: poset
Author: Jori Mäntysalo
Branch/Commit: public/17477 @
8ecc924
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/17477
The text was updated successfully, but these errors were encountered: