#7145: Interval exchange transformations
-----------------------------+----------------------------------------------
   Reporter:  vdelecroix     |       Owner:  vdelecroix       
       Type:  enhancement    |      Status:  needs_work       
   Priority:  major          |   Milestone:  sage-4.3         
  Component:  combinatorics  |    Keywords:                   
Work_issues:                 |      Author:  Vincent Delecroix
   Upstream:  N/A            |    Reviewer:                   
     Merged:                 |  
-----------------------------+----------------------------------------------

Comment(by slabbe):

 I submitted before preview. So I repeat below the lists that I messed up
 above.

 For constructor.py, I suggest to

  - Create a class constructor containing the functions `PermutationsIET`,
 `PermutationIET`, `PermutationLI`, `GeneralizedPermutation`,
 `RauzyDiagram`, `IntervalExchangeTransformation`.
  - Create the object `IET` = `constructor()`
  - Rename `PermutationsIET` to `PermutationsIET_iterator`
  - Add a function named `IntervalExchangeTransformation` to the class
 constructor that wrapped the constructor of IET in `iet.py`.
  - Do we want `AbelianStratum`, `QuadraticStratum` and `AbelianStrata` to
 be wrapped in constructor as well? I don't know, but if it is realated to
 everything in iet folder, then it would clearly help the user to know
 about it.

 For iet.py

  - Rename `IntervalExchangeTransformation.__mul__` to something like
 `multiply_lengths`.
  - Keep `IntervalExchangeTransformation.__mul__` for multiplication of two
 IET.
  - Change `IntervalExchangeTransformation._repr_` to look more like an
 `IET` and less as two tuples. For example it could say Interval exchange
 transformation from [0, 1[ to [0, 1[ of permutation ?.
  - Rename `IntervalExchangeTransformation.copy` as `__copy__` or
 `__deepcopy__` if it corresponds to what you want. This may applies to
 many other classes in the files.

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


Reply via email to