#10534: Generation of subwords, subsets and set partitions
------------------------------+---------------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: combinatorics | Keywords: generation, combinatorics,
set, subset, partition
Work_issues: | Upstream: N/A
Reviewer: Florent Hivert | Author: Vincent Delecroix
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by vdelecroix):
Hi Florent
> I need more time to review your long patch.
Certainly. Thanks for the review.
I have three important design questions relative to that patch and the
Combinatorial classes which it modify
* should the attributes of a CombinatorialClass be visible like S.w or
do we prefer S._w (some code in graphs uses a direct call to S.w) ?
* what should be the inheritance/relations between say Subsets (subset
of a given set) and Subsets_k (subset of size k of a given set) ?
* what should be the output of Subwords ? tuple, list, strings, any user
defined type ? Actually, if you initialize it with list (resp. tuple,
string) it output lists (resp. tuple, string).
> I just notice the following:
> {{{
> file: sage/combinat/choose_nk.py
> 85 sage: [0,2] in c52 # trac XXXX
> }}}
> You probably want to replace XXXX by an actual number.
Done
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10534#comment:12>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.