[sage-combinat-devel] Re: Categories, Parents, Elements

2018-05-21 Thread Bruce
> Also, have a look at the implementation of k-tableaux in > combinat/k_tableau.py. That should give an idea how to implement other > kinds of tableaux. > > Hi Anne, Thanks, that is useful. I notice that you an abstract class WeakTableau_abstract and three classes that inherit from this. All

[sage-combinat-devel] Re: Categories, Parents, Elements

2018-05-21 Thread Anne Schilling
Hi Bruce, > For most combinatorial objects, the main things you want to implement are: > > - An __init__ for the parent that calls Parent.__init__(self, > category=cat), with cat either Sets(), EnumeratedSets(), > EnumeratedSets().Finite(), EnumeratedSets().Infinite(), etc. > - An __init__