#18485: Make function to generate *all* independent sets.
----------------------------------+------------------------
Reporter: Rudi | Owner: Rudi
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.8
Component: matroid theory | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------------+------------------------
Comment (by ncohen):
Hello !
> I think you remember ticket #18183, on matroid polytopes. I saw that
discussion the other day and I had to agree that it is an omission that we
have no `.independent_sets()` method.
Yepyep. Such a function will surely be useful.
> I want to optimize the running time. Maybe using
`subsets_with_hereditary_property` is a good choice for the top class
Matroids, I'll check it out.
I wrote it for situations when the function that checks if a set is a base
is very slow. It may not be very efficient in other cases, though it
definitely uses the information that the property is hereditary.
Good luck `;-)`
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/18485#comment:5>
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.