#10886: DisjointSet: number of sets function
--------------------------------------------------------+-------------------
Reporter: rlm | Owner: jason
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-4.7
Component: misc | Keywords:
Author: Robert Miller | Upstream: N/A
Reviewer: Alexandre Blondin Massé, Sébastien Labbé | Merged:
Work_issues: |
--------------------------------------------------------+-------------------
Comment(by abmasse):
Just some questions before I set this ticket to positive review.
Are `cardinality` and `number_of_subsets` the only functions that should
jump to the parent class?
Correct me if I'm wrong: the reason why the methods `find`, `union`,
`root_to_elements_dict`, `to_digraph`, etc. is that they are specific to
each data structure. In principle, they all should be in the parent class,
but be declared as "abstract", but this is not in the Python philosophy.
Does my understanding seems correct?
Alex
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10886#comment:10>
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.