Opened 10 years ago

Last modified 10 years ago

#10931 new enhancement

fix relabelling and implement equality of structures of combinatorial species

Reported by: mantepse Owned by: mantepse
Priority: minor Milestone:
Component: combinatorics Keywords: structures of species
Cc: mhansen Merged in:
Authors: Martin Rubey Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

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?.

Attachments (1)

species_labels-mr.patch (25.9 KB) - added by mantepse 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by mantepse

comment:1 Changed 10 years ago by mantepse

  • Owner changed from sage-combinat to mantepse
  • Type changed from PLEASE CHANGE to enhancement
Note: See TracTickets for help on using tickets.