#17540: Poset.dimension
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.5
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
combinatorics | Work issues:
Keywords: | Commit:
Authors: | 216d59efca2e03ebce6e9fd76f150abb32e369d5
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
u/ncohen/17540 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by ncohen):
> Concerning the `certificate`, it looks like a half-certificate ; is the
algorithm able to provide an evidence that no smaller set of linear
ordering can generate the poset by intersection ?
No it cannot. The problem is NP, so there is a certificate for a 'yes'
answer, but it is not co-NP so there is no certificate for the other side.
(Insert 'polynomial' wherever it fits in the sentence, and assume P!=NP)
> Also, the "just to be sure" section at the end of the code should be run
only if some `check` option is set to `True` since the algorithm is
supposed to work without this ?
I do not think that it should, considering the running time of the
algorithm. That's almost for free comparatively, so I don't see the need
to make it optional.
> By the way, in the `INPUT` section, it seems more common to write
{{{``certificate`` - boolean (default: ``False``)}}} than to write the
default at the end of the description (i first thought the information was
missing).
Well I usually write it the way it is written. If you want to change it
you are welcome to add a commit, but if it is just about enforcing the
coding style you like I will not code it for you `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/17540#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.