Opened 3 years ago
Closed 3 years ago
#25576 closed enhancement (fixed)
allow to use certificate for poset is_isomorphic
Reported by:  chapoton  Owned by:  

Priority:  minor  Milestone:  sage8.3 
Component:  combinatorics  Keywords:  
Cc:  jmantysalo  Merged in:  
Authors:  Frédéric Chapoton  Reviewers:  Jori Mäntysalo, Travis Scrimshaw 
Report Upstream:  N/A  Work issues:  
Branch:  d13de9d (Commits, GitHub, GitLab)  Commit:  d13de9d051385f419e159b402ccc1e979a5ddcd8 
Dependencies:  Stopgaps: 
Description (last modified by )
by adding **kwds
in the call of the method of Hasse diagrams
Change History (8)
comment:1 Changed 3 years ago by
 Branch set to u/chapoton/25576
 Commit set to 2dd9592c9cfb8106dbda3994802831b957d41c36
 Status changed from new to needs_review
comment:2 Changed 3 years ago by
 Commit changed from 2dd9592c9cfb8106dbda3994802831b957d41c36 to f25d48e9824430763912911bfb0d3dae7f75b7ea
Branch pushed to git repo; I updated commit sha1. New commits:
f25d48e  trac 25576 fixing pyflakes

comment:3 Changed 3 years ago by
This clearly works.
However, which parameters are usefull from graphs? Should we have just certificate
option?
Another thing, is it faster to compare _hasse_diagram
instead of hasse_diagram()
?
comment:4 Changed 3 years ago by
 Description modified (diff)
While I agree with Jori that it probably should be _hasse_diagram
, that is outside of the scope of this ticket. (In fact, there are probably a few things that should be tweaks with that and/or have it lifted to the category.)
However, I think the generic **kwds
is better than anything explicit because it is more futureproof and gives the user more flexibility.
One nitpick: could you add a reference to this ticket as part of the TESTS::
?
comment:5 Changed 3 years ago by
 Commit changed from f25d48e9824430763912911bfb0d3dae7f75b7ea to d13de9d051385f419e159b402ccc1e979a5ddcd8
Branch pushed to git repo; I updated commit sha1. New commits:
d13de9d  trac 25576 adding trac role

comment:7 Changed 3 years ago by
 Reviewers set to Jori Mäntysalo, Travis Scrimshaw
 Status changed from needs_review to positive_review
Thanks.
comment:8 Changed 3 years ago by
 Branch changed from u/chapoton/25576 to d13de9d051385f419e159b402ccc1e979a5ddcd8
 Resolution set to fixed
 Status changed from positive_review to closed
New commits:
poset isomorphism can be required