Hallo Christian,
How would the user then ask for the statistics?
Integers.combinatorial_statistics() ?
or
combinatorial_statistics(Integers)
I would think of
Permutations().combinatorial_statistics()
gives a list of all combinatorial statistics defined on permutations, and
Permutations().combinatorial_statistics(Integers)
gives the sublist of all those statistics with integer values.
Oh, but wouldn't it be useful to find all combinatorial objects with
combinatorial statistics with the same codomain? For example, if you did not
know that there is a statistic preserving bijection between crystals and
rigged configurations, you would not think of checking this. But if sage
told you that they both have statistics, then you might start playing around
and find that they are equidistributed and discover something new.
Best,
Anne
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.