#16553: Clean IncidenceStructure
-------------------------------------------------+-------------------------
       Reporter:  vdelecroix                     |        Owner:
           Type:  enhancement                    |       Status:  new
       Priority:  major                          |    Milestone:  sage-6.3
      Component:  combinatorial designs          |   Resolution:
       Keywords:                                 |    Merged in:
        Authors:  Nathann Cohen, Vincent         |    Reviewers:
  Delecroix                                      |  Work issues:
Report Upstream:  N/A                            |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------

Comment (by vdelecroix):

 Some more remarks:

 - I think we also want another bijection `blocks <-> {0, ..., b-1}` to
 have well defined incidence matrices. It would also help to choose proper
 labels for the dual incidence structure.

 - A better name for `IncidenceStructure` would be `Design`... and we also
 need a class for `GroupDivisibleDesign` and for them we need an other
 bijection `groups <-> {0, ..., g-1}`.

 - to fit with enumerated set the natural terminology for the bijection
 would be `rank/unrank`
   {{{
   class Design:
       def rank_point(self, point):    # index of ``point``
       def unrank_point(self, n):      # ``n``-th point
       def rank_block(self, block):    # index of ``block``
       def unrank_block(self, n):      # ``n``-th block
   }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16553#comment:1>
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.

Reply via email to