Skip to content
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

fix relabelling and implement equality of structures of combinatorial species #10931

Open
mantepse opened this issue Mar 14, 2011 · 1 comment

Comments

@mantepse
Copy link
Collaborator

This patch fixes an oversight concerning the relabelling of structures of compositions of species and implements equality for structures.

In particular, it modifies the list method for partitions to take into account the labels, so it can be used by the methods change_labels and transport of CompositionSpeciesStructure.

Moreover, it modifies __eq__ of GenericSpeciesStructure to raise a NotImplementedError in case equality for the structures of the species in question has not been implemented. Ideally, the error message should state which species that is, but I do not know how to access that information. Same thing for change_labels in GenericSpeciesStructure.

CC: @mwhansen

Component: combinatorics

Keywords: structures of species

Author: Martin Rubey

Issue created by migration from https://trac.sagemath.org/ticket/10931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant