-
-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Category of classes of combinatorial structures #16465
Comments
comment:1
It would be very useful to know what difficulties you encounter with the species framework! Currently, one hold-up for progress regarding species is #16137 and a multivariate companion. |
comment:2
I don't have (especially) problem with the species framework. I have a problem with how to implement a class of combinatorial structures. The current way to do that consist in copy-paste a file like My patch (when I would tame git) will propose a simple framework to design a class of (combinatorial) structures. My opinion about species of structures is a species is a class of combinatorial structures! That is a class of combinatorial structures with some specific "method": transport of structures, isomophism types, cycle index series... so in the best of worlds, I want use a species as a parent and I want define more sophisticate structures with its elements. Furthermore, a set partition, a permutation, ... are structures of a species. It would be nice to merge the module About #16137, it seems to me your patch treats generating series but not about the framework of structures, so that is not directly linked. Nowadays, I am not convinced by sage to compute generating series... There exists a deterministic way to define and extract some coefficients in a generating series?? I believe users don't have to learn a new tool to do compute something so |
Commit: |
Branch: u/elixyre/ticket/16465 |
comment:5
A comment about a comment in the code: I think it's a misconception that a species is a "labelled structure". Clearly, I can consider every "class of unlabelled structures" as a combinatorial species, albeit possibly not in a very interesting way: simply let the symmetric group act trivially. |
comment:6
Replying to @sagetrac-elixyre:
I really would like to improve the usability of the species code, to make this task simpler. But I do not yet understand: `binary_trees.py' does not define a species, does it?
Hm. What I'd like to see is a simple way to turn any given parent (eg. `BinaryTree') into a species simply by providing the action of the symmetric group. But I think it's a really bad idea to have something like "species" and something like "combinatorial structures" side by side.
I'm not sure if I understand.
quite right (except that it's not my patch). however, it's holding me up from implementing multivariate species, which are necessary to deal with most interesting structures. I admit that my second big holdup is that I find python a very very very difficult language. Martin |
comment:7
Replying to @mantepse:
Ok you are right every class of combinatorial structures is a species (and by default there an trivial action of Specially one problem if everything is species, that is one has to compute each isomorphism type for every unlabeled class of objects! Most of the time, we have already implemented this class! Furthermore, most of the operation on unlabeled object are well defined: cartesian product, cauchy product, sum, derivation, ... So if someone want use only an unlabeled class it is possible to do it efficiently. Replying to @mantepse:
I have implemented a really simple example of class of structures in my last commit
I like this design (not only because it is mine). It is really simple and understandable. If you have any comment... I want.
It is a bad idea to make a great distinction between
Sorry my sentence is wrong : "Set partitions, permutations have a (mathematical) structure of species (so both are in the species category)" There is no disadvantage to patch the usual sets as species!
The fact is the Category framework of [comment: nthiery] is really a usefull tool to do that! I want to implementing linear species... but with category, that it is not necessary to reimplement everything from scratch or nearly from. Multivariate, ordered, linear species are species with a refinement of the category after that operations are still same! Obviously, I understand your problem is not mine, you want enumeration and I want generation! And like I have already say:
It was rhetoric... Until that is not user friendly and homogeneous that is not possible to attune enumeration and generation... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
Some of my tests fails in |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Ummm i fixed some documentation, is it possible to push it without changing the branch ? |
Changed branch from u/elixyre/ticket/16465 to u/virmaux/ticket/16465 |
Changed branch from u/virmaux/ticket/16465 to u/elixyre/ticket/16465 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
That category gives a good and easy pattern of combinatorial structures.
The ideas (a list of others tickets) behind that are
CC: @nthiery @mantepse @avirmaux
Component: categories
Author: Jean-Baptiste Priez
Branch/Commit: u/elixyre/ticket/16465 @
7de9abc
Issue created by migration from https://trac.sagemath.org/ticket/16465
The text was updated successfully, but these errors were encountered: