Changes between Version 2 and Version 3 of Ticket #11641


Ignore:
Timestamp:
08/14/12 10:09:35 (9 years ago)
Author:
stumpc5
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11641

    • Property Status changed from new to needs_review
    • Property Work issues changed from make it nice and smooth to
    • Property Authors changed from Chris Berg, Franco Saliola, Christian Stump to Christian Stump
    • Property Cc chrisjamesberg saliola added; cberg@… saliola@… removed
    • Property Summary changed from Implementation of a guesser of combinatoral statistics to Implementation of decorator for combinatorial statistics and maps
  • Ticket #11641 – Description

    v2 v3  
    1 An example:
    2 
    3 {{{
    4 sage: I = [ (p,p.major_index()+2*p.number_of_inversions()-34*p.number_of_descents()) for p in Permutations(3) ]
    5 
    6 sage: find_combinatorial_statistic(I)
    7 The tested combinatorial statistics on Standard permutations with values in Integer Ring where
    8 imajor_index
    9 longest_increasing_subsequence_length
    10 major_index
    11 number_of_descents
    12 number_of_fixed_points
    13 number_of_idescents
    14 number_of_inversions
    15 number_of_peaks
    16 number_of_saliances
    17 
    18 ((0, 0, 1, -34, 0, 0, 2, 0, 0), Free module of degree 9 and rank 3 over Integer Ring
    19 Echelon basis matrix:
    20 [ 3  0  0  0  2 -4  5  3 -6]
    21 [ 0  1  3  0 -1 -3 -1 -3  0]
    22 [ 0  0  0  1  0 -1  0  0  0])
    23 }}}
     1This patch implements decorators for combinatorial statistics and maps. The aim is to be able to ask for all combinatorial statistics/maps for a given combinatorial class.